1import React from 'react'; 2import {StyleSheet, View} from 'react-native'; 3import rpx from '@/utils/rpx'; 4import {useRoute} from '@react-navigation/native'; 5import NavBar from './components/navBar'; 6import MusicBar from '@/components/musicBar'; 7import MusicList from './components/musicList'; 8 9interface ISheetDetailProps {} 10export default function SheetDetail(props: ISheetDetailProps) { 11 const route = useRoute<any>(); 12 const id = route.params?.id ?? 'favorite'; 13 14 return ( 15 <View style={style.wrapper}> 16 <NavBar></NavBar> 17 <MusicList></MusicList> 18 <MusicBar></MusicBar> 19 </View> 20 ); 21} 22 23const style = StyleSheet.create({ 24 wrapper: { 25 width: rpx(750), 26 flex: 1, 27 }, 28}); 29