{
"pages": [
"pages/home/home",
"pages/index/index",
"pages/live/live",
"pages/usercenter/usercenter",
"pages/category/category",
"pages/register/index",
"pages/logs/logs"
],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#ffffff"
},
"tabBar": {
"custom": true,
"color": "#a9b7b7",
"selectedColor": "#11cd6e",
"borderStyle": "black",
"list": [{
"pagePath": "pages/home/home",
"text": "首页",
"iconPath": "./icon/mrHome.png",
"selectedIconPath": "./icon/ckHome.png"
},
{
"pagePath": "pages/category/category",
"text": "分类"
},
{
"pagePath": "pages/live/live",
"text": "直播"
},
{
"pagePath": "pages/usercenter/usercenter",
"text": "个人中心"
}
]
},
"style": "v2",
"componentFramework": "glass-easel",
"sitemapLocation": "sitemap.json",
"lazyCodeLoading": "requiredComponents"
}
你开启了自定义tabBar:https://developers.weixin.qq.com/miniprogram/dev/framework/ability/custom-tabbar.html