u
This commit is contained in:
1 parent
8a3dea8545
commit
1903861354
21 files changed
+335
-236
No files matched your search
@@ -21,15 +21,31 @@ export default function Index() {
|
||||
</Text>
|
||||
|
||||
<Text className="text-base text-gray-500 text-center mb-10">
|
||||
记录生活,记录情绪,也记录每一笔重要的支出
|
||||
记录生活,记录情绪
|
||||
</Text>
|
||||
|
||||
<AButton
|
||||
{/* <AButton
|
||||
className="w-full"
|
||||
onPress={() => router.replace('/money')}
|
||||
>
|
||||
开始使用
|
||||
</AButton>
|
||||
</AButton> */}
|
||||
<View className="flex flex-row gap-3 mt-4">
|
||||
<AButton
|
||||
className="flex-1"
|
||||
onPress={() => router.replace('/money')}
|
||||
>
|
||||
创建空间
|
||||
</AButton>
|
||||
<AButton
|
||||
className="flex-1"
|
||||
variant="outline"
|
||||
onPress={() => router.replace('/money')}
|
||||
>
|
||||
加入空间
|
||||
</AButton>
|
||||
</View>
|
||||
|
||||
</View>
|
||||
</SafeAreaView>
|
||||
)
|
||||
|
||||
@@ -10,7 +10,7 @@ import ListItem from './components/ListItem'
|
||||
|
||||
export default function User() {
|
||||
const userStore = useUserStore()
|
||||
|
||||
console.log(userStore.userInfo)
|
||||
return (
|
||||
<SafeAreaView className="flex-1 p-4">
|
||||
<View className="flex flex-row items-center">
|
||||
@@ -20,7 +20,7 @@ export default function User() {
|
||||
source={{ uri: userStore.userInfo?.avatar }}
|
||||
/>
|
||||
</Avatar>
|
||||
<Text className="text-xl font-semibold ml-3">{userStore.userInfo?.username}</Text>
|
||||
<Text className="text-xl font-semibold ml-3">{userStore.userInfo?.nickname}</Text>
|
||||
<LucideIcon icon="ChevronRight" size={26} className="ml-auto" color="#aaa" strokeWidth={1.5} />
|
||||
</View>
|
||||
|
||||
|
||||
Reference in new issue
Block a user