add tab bar

This commit is contained in:
2024-03-03 19:25:29 +08:00
parent 14b302bd1a
commit d15067f2fe
12 changed files with 89 additions and 42 deletions
+19 -1
View File
@@ -1,11 +1,29 @@
export default defineAppConfig({
pages: [
'pages/index/index'
'pages/index/index',
'pages/repair/repair',
'pages/user/user',
],
window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: 'WeChat',
navigationBarTextStyle: 'black'
},
tabBar: {
list: [
{
pagePath: 'pages/index/index',
text: '主页'
},
{
pagePath: 'pages/repair/repair',
text: '维修'
},
{
pagePath: 'pages/user/user',
text: '我的'
}
]
}
})