- 需求的场景描述(希望解决的问题)
{
"pages": [
"index/index",
"test1/test1",
"test2/test2"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
},
"tabBar": {
"color": "#a9b7b7",
"selectedColor": "#11cd6e",
"borderStyle": "white",
"list": [
{
"pagePath": "test1/test1",
"text": "主页"
},
{
"pagePath": "test2/test2",
"text": "我的"
}
]
}
}
无法显示tabbar
微信小程序开发问题解答
微信小程序开发者回答:
麻烦提供下代码片段:https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
微信小程序开发者回答:
还是不行,然后下载了网上的一些dome 还是不能显示,不知道什么原因
微信小程序开发者回答:
建议把iconPath和selectedIconPath都加上,再看一下
{
"pagePath": "pages/xx/xx",
"text": "xx",
"iconPath": "/images/xx_normal.png",
"selectedIconPath": "/images/xx_pressed.png"
},
本文网址:http://www.91bianli.com/weixinxiaochengxu/24797.html