刚开始代码如下
"tabBar": {
"list": [{
"pagePath": "pages/index/index",
"text": "首页"
}, {
"pagePath": "pages/logs/index",
"text": "日志"
}]
},
"style": "v2",
"sitemapLocation": "sitemap.json",
"color":"#333",
"selectedColor":"#999",
"position":"top"
}
发觉后加样式设置都无效,后发觉要加在"list"前面才生效,如下
"tabBar": {
"color":"#333",
"selectedColor":"#999",
"position":"top",
"list": [{
"pagePath": "pages/index/index",
"text": "首页"
}, {
"pagePath": "pages/logs/index",
"text": "日志"
}]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}