tabBar不显示
应该显示tabBar的。app.json代码如下
{
“pages”: [
“pages/mypage/mypage”,
“pages/logs/logs”,
“pages/index/index”
],
“window”: {
“backgroundTextStyle”: “light”,
“navigationBarBackgroundColor”: “#fff”,
“navigationBarTitleText”: “WeChat”,
“navigationBarTextStyle”: “black”,
“enablePullDownRefresh”:true
},
“tabBar”: {
“color”: “#000”,
“selectedColor”: “#56abe4”,
“backgroundColor”: “#fff”,
“borderStyle”: “black”,
“list”: [
{
“pagePath”: “pages/mypage/mypage”,
“text”: “设置”,
“iconPath”: “icon/icon3.png”,
“SelectedIconPath”: “icon/icon3.png”
},
{
“pagePath”: “pages/logs/logs”,
“text”: “日志”,
“iconPath”: “icon/icon2.png”,
“SelectedIconPath”: “icon/icon2.png”
},
{
“pagePath”: “pages/index/index”,
“text”: “首页”,
“iconPath”:“icon/icon1.png”,
“SelectedIconPath”:“icon/icon1.png”
}
],
“custom”: true
},
“networkTimeout”:{
“request”:30000,
“connectSocket”:3000,
“uploadFile”:3000,
“downloadFile”:3000
},
“sitemapLocation”: “sitemap.json”,
“debug”:true
}