This commit is contained in:
2020-06-15 11:34:33 +08:00
parent 3f63d8ade9
commit b697270eb9
6 changed files with 66 additions and 30 deletions

View File

@@ -749,6 +749,12 @@
}
],
"pages": [ //pages数组中第一项表示应用启动页参考https://uniapp.dcloud.io/collocation/pages
{
"path": "pageA/welcome/welcome",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/index/index",
"style": {
@@ -756,6 +762,13 @@
"navigationStyle": "custom"
}
},
{
"path": "pages/shop/index",
"style": {
"navigationBarTitleText": "商城",
"navigationStyle": "custom"
}
},
{
"path": "pages/mine/index",
"style": {
@@ -778,9 +791,35 @@
}
}
],
"tabBar": {
"color": "#999999",
"selectedColor": "#FFC023",
"borderStyle": "white",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/image/tabbar/home.png",
"selectedIconPath": "static/image/tabbar/home2.png",
"text": "首页"
}, {
"pagePath": "pages/shop/index",
"iconPath": "static/image/tabbar/mall.png",
"selectedIconPath": "static/image/tabbar/mall2.png",
"text": "商城"
}, {
"pagePath": "pages/API/index",
"iconPath": "static/image/tabbar/message.png",
"selectedIconPath": "static/image/tabbar/message2.png",
"text": "消息"
}, {
"pagePath": "pages/mine/index",
"iconPath": "static/image/tabbar/mine.png",
"selectedIconPath": "static/image/tabbar/mine2.png",
"text": "我的"
}]
},
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}