This commit is contained in:
oneao committed 2026-03-05 22:24:22 +08:00
1 parent 173eb2dd37
commit 26ff2381b7
17 files changed
+596 -305

No files matched your search

+7 -20
View File
@@ -2,9 +2,10 @@ import { useRouter } from 'expo-router'
import { Image, Text, View } from 'react-native'
import { SafeAreaView } from 'react-native-safe-area-context'
import { AButton } from '@/components/common/ao'
import { useNavStore } from '@/store/navigation'
export default function Index() {
const router = useRouter()
const navStore = useNavStore()
return (
<SafeAreaView className="flex-1 bg-white">
@@ -24,28 +25,14 @@ export default function Index() {
记录生活,记录情绪
</Text>
{/* <AButton
<AButton
className="w-full"
onPress={() => ('/finance')}
onPress={() => {
navStore.navigateTo('finance/index')
}}
>
开始使用
</AButton> */}
<View className="flex flex-row gap-3 mt-4">
<AButton
className="flex-1"
onPress={() => ('/finance')}
>
创建空间
</AButton>
<AButton
className="flex-1"
variant="outline"
onPress={() => ('/finance')}
>
加入空间
</AButton>
</View>
</AButton>
</View>
</SafeAreaView>
)