小程序底部tabBar导航配置(app.json)

{
"pages": [
"pages/index/index",
"pages/list/list",
"pages/list_article/list_article",
"pages/callus/callus",
"pages/cgal/cgal"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "首页",
"navigationBarTextStyle": "black"
},
"tabBar": {
"color": "#a9b7b7",
"selectedColor": "#ff7f12",
"borderStyle": "black",
"list": [
{
"selectedIconPath": "/wximages/sy-on.png",
"iconPath": "/wximages/sy-df.png",
"pagePath": "pages/index/index",
"text": "首页"
},
{
"selectedIconPath": "/wximages/cp-on.png",
"iconPath": "/wximages/cp-df.png",
"pagePath": "pages/list/list",
"text": "新闻动态"
},
{
"selectedIconPath": "/wximages/lx-on.png",
"iconPath": "/wximages/lx-df.png",
"pagePath": "pages/callus/callus",
"text": "联系我们"
}
]
}
}

你可能感兴趣的:(小程序底部tabBar导航配置(app.json))