微信小程序TabBar点击后失去显示

这是现在的代码,运行后一开始能正常显示TabBar,但是点击别的TabBar中的按钮时整个TabBar都不显示了,在安卓上测试没有这个问题,ios上有这个问题....

{
"pages": [
"pages/index/index",
"pages/logs/logs",
"pages/post/post",
"pages/school/school",
"pages/sale/sale",
"pages/match/match",
"pages/personal/personal",
"pages/post_sale/post_sale",
"pages/comment_sale/comment_sale",
"pages/post_match/post_match",
"pages/letter/letter",
"pages/message/message",
"pages/suggestion/suggestion",
"pages/friends/friends",
"pages/post_list/post_list",
"pages/sale_list/sale_list",
"pages/match_list/match_list",
"pages/post_detail/post_detail",
"pages/match_detail/match_detail",
"pages/match_result/match_result",
"pages/compare_face/face",
"pages/topic_comment/topic_comment",
"pages/topic_detail/topic_detail",
"pages/help/help",
"pages/post_help/post_help",
"pages/help_detail/help_detail",
"pages/set_profile/set_profile",
"pages/comment_mission/comment_mission",
"pages/help_single/help_single"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#66CDAA",
"navigationBarTitleText": "天大仁爱表白墙",
"navigationBarTextStyle": "white"
},
"tabBar": {
"color": "#515151",
"selectedColor": "#66CDAA",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "image/saylove.png",
"selectedIconPath": "image/select-saylove.png",
"text": "表白墙"
},
{
"pagePath": "pages/sale/sale",
"iconPath": "image/sale.png",
"selectedIconPath": "image/select-sale.png",
"text": "卖舍友"
},
{
"pagePath": "pages/help/help",
"iconPath": "image/help.png",
"selectedIconPath": "image/select-help.png",
"text": "悬赏令"
},
{
"pagePath": "pages/compare_face/face",
"iconPath": "image/fall-in-love.png",
"selectedIconPath": "image/select-fall-in-love.png",
"text": "情侣脸"
},
{
"pagePath": "pages/personal/personal",
"iconPath": "image/iam.png",
"selectedIconPath": "image/select-iam.png",
"text": "我的"
}
]
}
}

2个回答

测试正常 没有任何问题啊 不然就是你图片地址有问题

解决问题了么 我也出现有这个问题 用的switchTab跳转 iOS上 tabbar 偶尔会消失

qq_24985715
安静的小女子 有解决吗?我的也是这个问题
9 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问