weixin_43297206 2018-09-27 12:47 采纳率: 0%
浏览 3994

微信小程序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条回答 默认 最新

  • weixin_41542494 2018-10-09 06:55
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥15 github符合条件20分钟秒到账,github空投 提供github账号可兑换💰感兴趣的可以找我交流一下
  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?