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 使用C#,asp.net读取Excel文件并保存到Oracle数据库
  • ¥15 C# datagridview 单元格显示进度及值
  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配