tabbar在iphone7上预览和工具预览背景颜色不一致
发布于 5 年前 作者 jie31 6133 次浏览 来自 问答

我设置的tabbar背景色是白色,iphone预览却是黑色,,,安卓可以正常预览

下面是代码

{

“pages”:[

“pages/index/index”

],

“window”:{

“backgroundTextStyle”:“light”,

“navigationBarBackgroundColor”: “#fff”,

“navigationBarTitleText”: “WeChat”,

“navigationBarTextStyle”:“black”

},

“tabBar”: {

“backgroundColor”:“white”,

“list”: [{

“pagePath”: “pages/index/index”,

“text”: “text”,

“iconPath”: “pages/icon/index.png”,

“selectedIconPath”: “pages/icon/index_sele.png”

},{

“pagePath”: “pages/index/index”,

“text”: “text”,

“iconPath”: “pages/icon/message.png”,

“selectedIconPath”: “pages/icon/message_sele.png”

}]

}

}

4 回复

非常感谢 可以了

你好,问题未复现。请提供一下出现问题的机型和微信版本

“backgroundColor”: “#ffffff”,

你好是这样的

机型是:iphone7

微信版本是:WeChat 6.5.16

开发者工具是2017.09.13更新的版本

回到顶部