diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.tsx index 54e11d0..9c51d70 100644 --- a/app/(tabs)/_layout.tsx +++ b/app/(tabs)/_layout.tsx @@ -19,14 +19,28 @@ export default function TabLayout() { , }} /> , + }} + /> + , + }} + /> + , }} /> diff --git a/app/(tabs)/activity.tsx b/app/(tabs)/activity.tsx new file mode 100644 index 0000000..89b1b5c --- /dev/null +++ b/app/(tabs)/activity.tsx @@ -0,0 +1,8 @@ +import { ThemedView } from "@/components/themed-view"; + +export default function ActivityScreen() { + return ( + 11 + ) +} + \ No newline at end of file diff --git a/app/(tabs)/explore.tsx b/app/(tabs)/explore.tsx deleted file mode 100644 index 71518f9..0000000 --- a/app/(tabs)/explore.tsx +++ /dev/null @@ -1,112 +0,0 @@ -import { Image } from 'expo-image'; -import { Platform, StyleSheet } from 'react-native'; - -import { Collapsible } from '@/components/ui/collapsible'; -import { ExternalLink } from '@/components/external-link'; -import ParallaxScrollView from '@/components/parallax-scroll-view'; -import { ThemedText } from '@/components/themed-text'; -import { ThemedView } from '@/components/themed-view'; -import { IconSymbol } from '@/components/ui/icon-symbol'; -import { Fonts } from '@/constants/theme'; - -export default function TabTwoScreen() { - return ( - - }> - - - Explore - - - This app includes example code to help you get started. - - - This app has two screens:{' '} - app/(tabs)/index.tsx and{' '} - app/(tabs)/explore.tsx - - - The layout file in app/(tabs)/_layout.tsx{' '} - sets up the tab navigator. - - - Learn more - - - - - You can open this project on Android, iOS, and the web. To open the web version, press{' '} - w in the terminal running this project. - - - - - For static images, you can use the @2x and{' '} - @3x suffixes to provide files for - different screen densities - - - - Learn more - - - - - This template has light and dark mode support. The{' '} - useColorScheme() hook lets you inspect - what the user's current color scheme is, and so you can adjust UI colors accordingly. - - - Learn more - - - - - This template includes an example of an animated component. The{' '} - components/HelloWave.tsx component uses - the powerful{' '} - - react-native-reanimated - {' '} - library to create a waving hand animation. - - {Platform.select({ - ios: ( - - The components/ParallaxScrollView.tsx{' '} - component provides a parallax effect for the header image. - - ), - })} - - - ); -} - -const styles = StyleSheet.create({ - headerImage: { - color: '#808080', - bottom: -90, - left: -35, - position: 'absolute', - }, - titleContainer: { - flexDirection: 'row', - gap: 8, - }, -}); diff --git a/app/(tabs)/mine.tsx b/app/(tabs)/mine.tsx new file mode 100644 index 0000000..5b0811a --- /dev/null +++ b/app/(tabs)/mine.tsx @@ -0,0 +1,28 @@ +import { ThemedView } from "@/components/themed-view"; +import { Text, TouchableOpacity } from "react-native"; +import { useRouter } from "expo-router"; + +export default function MainScreen() { + const router = useRouter(); + + const handleWithdraw = () => { + router.push("/withdraw"); + }; + + return ( + + + 提现 + + + ) +} + \ No newline at end of file diff --git a/app/(tabs)/recharge.tsx b/app/(tabs)/recharge.tsx new file mode 100644 index 0000000..b102d25 --- /dev/null +++ b/app/(tabs)/recharge.tsx @@ -0,0 +1,8 @@ +import { ThemedView } from "@/components/themed-view"; + +export default function RechargeScreen() { + return ( + 充值 + ) +} + \ No newline at end of file diff --git a/app/withdraw/index.tsx b/app/withdraw/index.tsx new file mode 100644 index 0000000..2e2905e --- /dev/null +++ b/app/withdraw/index.tsx @@ -0,0 +1,10 @@ +import { ThemedView } from "@/components/themed-view"; +import { Text } from "react-native"; + +export default function WithdrawScreen() { + return ( + + 提现页面 + + ); +} \ No newline at end of file