{
"pages":[
"pages/index/index",
"pages/logs/logs",
"pages/fan/fan"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle":"black"
},
"tabBar": {
"color": "#f60",
"list": [
{
"pagePath": "pages/index/index",
"selectedIconPath": "../images/p7.png",
"iconPath": "../images/p4.png",
"text": "粉丝"
},
{
"pagePath": "pages/fan/fan",
"selectedIconPath": "../images/p5.png",
"iconPath": "../images/p8.png",
"text": "首页"
}
]
}
}
谁可以解决为什么不显示
什么代码?
麻烦提供代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
那些片段?
就是你写的显示tabbar的代码
我就是只在app.json里添加上面的带母亲,只有这个
这边复制你的代码是可以显示的,需要你提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
我点击预览显示这个