u
This commit is contained in:
1 parent
c0531c1d0a
commit
46106d0c76
13 files changed
+171
-146
No files matched your search
@@ -57,7 +57,7 @@ export default function TabsLayout() {
|
||||
"
|
||||
onPress={() => {
|
||||
setShowNavDrawer(false)
|
||||
router.push(item.path)
|
||||
router.navigate(item.path)
|
||||
}}
|
||||
>
|
||||
<LucideIcon icon={item.icon} size={24} strokeWidth={2} clickable={false} />
|
||||
|
||||
@@ -2,9 +2,11 @@ import React, { useState } from 'react'
|
||||
import { Text, View } from 'react-native'
|
||||
import { AButton, AModal } from '@/components/common/ao'
|
||||
import AnimatedSwitch from '@/components/common/ao/Switch'
|
||||
import { useSpaceStore } from '@/store/space'
|
||||
|
||||
export default function TestScreen() {
|
||||
const [showDissolve, setShowDissolve] = useState(false)
|
||||
const spaceStore = useSpaceStore()
|
||||
|
||||
return (
|
||||
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
|
||||
@@ -12,7 +14,7 @@ export default function TestScreen() {
|
||||
setShowDissolve(true)
|
||||
}}
|
||||
>
|
||||
测试
|
||||
{spaceStore.currentSpace?.space_id}
|
||||
</AButton>
|
||||
<AModal
|
||||
title="提示"
|
||||
|
||||
@@ -26,21 +26,21 @@ export default function Index() {
|
||||
|
||||
{/* <AButton
|
||||
className="w-full"
|
||||
onPress={() => router.replace('/money')}
|
||||
onPress={() => ('/money')}
|
||||
>
|
||||
开始使用
|
||||
</AButton> */}
|
||||
<View className="flex flex-row gap-3 mt-4">
|
||||
<AButton
|
||||
className="flex-1"
|
||||
onPress={() => router.replace('/money')}
|
||||
onPress={() => ('/money')}
|
||||
>
|
||||
创建空间
|
||||
</AButton>
|
||||
<AButton
|
||||
className="flex-1"
|
||||
variant="outline"
|
||||
onPress={() => router.replace('/money')}
|
||||
onPress={() => ('/money')}
|
||||
>
|
||||
加入空间
|
||||
</AButton>
|
||||
|
||||
Reference in new issue
Block a user