This commit is contained in:
oneao committed 2026-01-26 17:29:24 +08:00
1 parent 8f3f6982db
commit 5a79414319
10 files changed
+355 -293

No files matched your search

+15 -4
View File
@@ -1,11 +1,22 @@
import { useRouter } from 'expo-router'
import { Text, View } from 'react-native'
import { SafeAreaView } from 'react-native-safe-area-context'
import { AButton } from '@/components/common/ao'
// 这个页面的作用是作为占位页,避免进入 (tabs) layout 时出现 404 页面。
// 如果想指定默认页面,可以通过 router.replace 或 TabTrigger 指向具体子页面。
export default function Index() {
const router = useRouter()
return (
<View>
<Text>Index</Text>
</View>
<SafeAreaView>
<View>
<AButton onPress={() => {
router.push('/money')
}}
>
测试
</AButton>
</View>
</SafeAreaView>
)
}