底部导航

This commit is contained in:
liu
2026-07-01 21:54:00 +08:00
parent 0ee14678b6
commit d909d376f9
17 changed files with 544 additions and 3 deletions
+29 -3
View File
@@ -1,13 +1,39 @@
export default defineAppConfig({
pages: [
'pages/index/index',
'pages/tasks/index',
'pages/messages/index',
'pages/profile/index',
],
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: 'WeChat',
navigationBarTextStyle: 'black'
navigationBarTextStyle: 'black',
},
tabBar: {
custom: true,
color: '#969799',
selectedColor: '#1989fa',
backgroundColor: '#ffffff',
list: [
{
pagePath: 'pages/index/index',
text: '首页',
},
{
pagePath: 'pages/tasks/index',
text: '校园任务',
},
{
pagePath: 'pages/messages/index',
text: '消息',
},
{
pagePath: 'pages/profile/index',
text: '我的',
},
],
},
animation: false,
}
)
})