u
This commit is contained in:
1 parent
173eb2dd37
commit
26ff2381b7
17 files changed
+596
-305
No files matched your search
@@ -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>
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user