119dc08ecS猫头猫import StatusBar from '@/components/base/statusBar'; 2*c446f2b8S猫头猫import useOrientation from '@/hooks/useOrientation'; 34060c00aS猫头猫import React from 'react'; 44060c00aS猫头猫import {StyleSheet, View} from 'react-native'; 51c06c799S猫头猫import {SafeAreaView} from 'react-native-safe-area-context'; 6bf6e62f2S猫头猫import Background from './components/background'; 7bf6e62f2S猫头猫import Bottom from './components/bottom'; 8bf6e62f2S猫头猫import Content from './components/content'; 9*c446f2b8S猫头猫import Lyric from './components/content/lyric'; 10bf6e62f2S猫头猫import NavBar from './components/navBar'; 11bf6e62f2S猫头猫 12bf6e62f2S猫头猫export default function MusicDetail() { 13*c446f2b8S猫头猫 const orientation = useOrientation(); 14bf6e62f2S猫头猫 return ( 15e990b02cS猫头猫 <> 164060c00aS猫头猫 <Background /> 17e990b02cS猫头猫 <SafeAreaView style={style.wrapper}> 184060c00aS猫头猫 <StatusBar backgroundColor={'transparent'} /> 19*c446f2b8S猫头猫 <View style={style.bodyWrapper}> 203ae2e493S猫头猫 <View style={style.container}> 214060c00aS猫头猫 <NavBar /> 224060c00aS猫头猫 <Content /> 234060c00aS猫头猫 <Bottom /> 24bf6e62f2S猫头猫 </View> 25*c446f2b8S猫头猫 {orientation === 'horizonal' ? <Lyric /> : null} 26*c446f2b8S猫头猫 </View> 271c06c799S猫头猫 </SafeAreaView> 28e990b02cS猫头猫 </> 29bf6e62f2S猫头猫 ); 30bf6e62f2S猫头猫} 31bf6e62f2S猫头猫 32bf6e62f2S猫头猫const style = StyleSheet.create({ 33bf6e62f2S猫头猫 wrapper: { 34*c446f2b8S猫头猫 width: '100%', 35bf6e62f2S猫头猫 flex: 1, 36bf6e62f2S猫头猫 }, 37*c446f2b8S猫头猫 bodyWrapper: { 38*c446f2b8S猫头猫 flex: 1, 39*c446f2b8S猫头猫 flexDirection: 'row', 40*c446f2b8S猫头猫 }, 41bf6e62f2S猫头猫 container: { 42bf6e62f2S猫头猫 flex: 1, 43bf6e62f2S猫头猫 }, 44bf6e62f2S猫头猫}); 45