This commit is contained in:
oneao committed 2026-01-13 22:18:01 +08:00
1 parent 6277fb2f9e
commit 8ecac0d7dd
270 files changed
+40438 -529

No files matched your search

@@ -0,0 +1,47 @@
import type { TabbarItem } from '@/components/custom/Tabbar'
import CustomTabbar from '@/components/custom/Tabbar'
import { toast } from '@/utils/toast'
export const unstable_settings = {
initialRouteName: 'money/index',
}
export default function TabsLayout() {
const tabbarOptions: TabbarItem[] = [
{
name: 'money',
href: '/money',
icon: 'CircleDollarSign',
},
{
name: 'love',
href: '/love',
icon: 'Heart',
},
{
name: 'app',
icon: 'LayoutGrid',
activeIcon: 'Smile',
iconSize: 26,
onPress: () => {
toast.show({
title: '该功能尚未开发,请尽情期待!',
})
},
},
{
name: 'chat',
href: '/chat',
icon: 'MessageCircle',
},
{
name: 'user',
href: '/user',
icon: 'CircleUserRound',
},
]
return (
<CustomTabbar data={tabbarOptions} />
)
}