底部导航
This commit is contained in:
+29
-3
@@ -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,
|
||||
}
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user