收藏
回答

为什么我设置了tabBar 但是页面没有显示tabbar?

{

"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"

}



回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容