xref: /MusicFree/src/pages/musicDetail/index.tsx (revision e990b02cef7c360cd028d578020131eb78e0f16c)
1bf6e62f2S猫头猫import MusicQueue from '@/common/musicQueue';
2bf6e62f2S猫头猫import MusicBar from '@/components/musicBar';
3bf6e62f2S猫头猫import rpx from '@/utils/rpx';
4bf6e62f2S猫头猫import {useAtom} from 'jotai';
5bf6e62f2S猫头猫import React, {useEffect} from 'react';
61c06c799S猫头猫import {Button, StatusBar, StyleSheet, Text, View} from 'react-native';
71c06c799S猫头猫import {SafeAreaView} from 'react-native-safe-area-context';
8bf6e62f2S猫头猫import Background from './components/background';
9bf6e62f2S猫头猫import Bottom from './components/bottom';
10bf6e62f2S猫头猫import Content from './components/content';
11bf6e62f2S猫头猫import NavBar from './components/navBar';
12bf6e62f2S猫头猫
13bf6e62f2S猫头猫export default function MusicDetail() {
14bf6e62f2S猫头猫  return (
15*e990b02cS猫头猫    <>
16bf6e62f2S猫头猫      <Background></Background>
17*e990b02cS猫头猫      <SafeAreaView style={style.wrapper}>
18bf6e62f2S猫头猫        <View style={style.container}>
191c06c799S猫头猫          <StatusBar backgroundColor={'transparent'}></StatusBar>
20bf6e62f2S猫头猫          <NavBar></NavBar>
21bf6e62f2S猫头猫          <Content></Content>
22bf6e62f2S猫头猫          <Bottom></Bottom>
23bf6e62f2S猫头猫        </View>
241c06c799S猫头猫      </SafeAreaView>
25*e990b02cS猫头猫    </>
26bf6e62f2S猫头猫  );
27bf6e62f2S猫头猫}
28bf6e62f2S猫头猫
29bf6e62f2S猫头猫const style = StyleSheet.create({
30bf6e62f2S猫头猫  wrapper: {
31bf6e62f2S猫头猫    width: rpx(750),
32bf6e62f2S猫头猫    flex: 1,
33bf6e62f2S猫头猫  },
34bf6e62f2S猫头猫  container: {
35bf6e62f2S猫头猫    flex: 1,
36bf6e62f2S猫头猫  },
37bf6e62f2S猫头猫});
38