{
"pages": [
"pages/zhuye/zhuye",
"pages/logs/logs",
"pages/index/index"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "666",
"navigationBarTextStyle": "black",
"navigationStyle": "default",
"backgroundColor": "pink",
"enablePullDownRefresh": "true"
},
"tabBar":{
"color": "#8a8a8a",
"selecterColor": "#1AAD16",
"list": [
{
"pagePath": "pages/zhuye/zhuye",
"text": "首页"
},
{
"pagePath": "pages/logs/logs",
"text": "购物车"
},
{
"pagePath": "pages/index/index",
"text": "我"
}
]
}
}
设置了tabbar 但是就是没法显示出来 这是什么原因啊
两个错误
第一这个true 不能有引号;
第二 这个应该是selectedColor
"enablePullDownRefresh": "true" 改为 "enablePullDownRefresh": true 去掉冒号