我设置的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"
}]
}
}
网友回复:
你好,问题未复现。请提供一下出现问题的机型和微信版本
机型是:iphone7
微信版本是:WeChat 6.5.16
开发者工具是2017.09.13更新的版本
"backgroundColor": "#ffffff",
你好是这样的
非常感谢 可以了