1*bf6e62f2S猫头猫import MusicQueue from '@/common/musicQueue'; 2*bf6e62f2S猫头猫import MusicBar from '@/components/musicBar'; 3*bf6e62f2S猫头猫import getStatusBarHeight from '@/utils/getStatusBarHeight'; 4*bf6e62f2S猫头猫import rpx from '@/utils/rpx'; 5*bf6e62f2S猫头猫import {useAtom} from 'jotai'; 6*bf6e62f2S猫头猫import React, {useEffect} from 'react'; 7*bf6e62f2S猫头猫import {Button, StyleSheet, Text, View} from 'react-native'; 8*bf6e62f2S猫头猫import Background from './components/background'; 9*bf6e62f2S猫头猫import Bottom from './components/bottom'; 10*bf6e62f2S猫头猫import Content from './components/content'; 11*bf6e62f2S猫头猫import NavBar from './components/navBar'; 12*bf6e62f2S猫头猫 13*bf6e62f2S猫头猫export default function MusicDetail() { 14*bf6e62f2S猫头猫 15*bf6e62f2S猫头猫 return ( 16*bf6e62f2S猫头猫 <View style={style.wrapper}> 17*bf6e62f2S猫头猫 <Background></Background> 18*bf6e62f2S猫头猫 <View style={style.container}> 19*bf6e62f2S猫头猫 <NavBar></NavBar> 20*bf6e62f2S猫头猫 <Content></Content> 21*bf6e62f2S猫头猫 <Bottom></Bottom> 22*bf6e62f2S猫头猫 </View> 23*bf6e62f2S猫头猫 </View> 24*bf6e62f2S猫头猫 ); 25*bf6e62f2S猫头猫} 26*bf6e62f2S猫头猫 27*bf6e62f2S猫头猫const style = StyleSheet.create({ 28*bf6e62f2S猫头猫 wrapper: { 29*bf6e62f2S猫头猫 width: rpx(750), 30*bf6e62f2S猫头猫 flex: 1, 31*bf6e62f2S猫头猫 backgroundColor: '#333333' 32*bf6e62f2S猫头猫 }, 33*bf6e62f2S猫头猫 container: { 34*bf6e62f2S猫头猫 paddingTop: getStatusBarHeight(), 35*bf6e62f2S猫头猫 flex: 1, 36*bf6e62f2S猫头猫 }, 37*bf6e62f2S猫头猫}); 38