收藏
回答

tabBar图标不显示

问题模块 框架类型 问题类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 小程序 Bug tabBar 工具 6.7.2 2.2.4

- 当前 Bug 的表现(可附上截图)

tabBar

图标不显示


本项目开始正常显示,但是到了快结束时。tabBar图标不显示了。

功能正常

代码如下:

{
  "pages": [
    "pages/index/index",
    "pages/experience/experience",
    "pages/details/details",
    "pages/content/content",
    "pages/consult/consult",
    "pages/condition/condition",
    "pages/case/case",
    "pages/about/about",
    "pages/dynamic/dynamic"
  ],
  "window": {
    "backgroundTextStyle": "light",
    "navigationBarBackgroundColor": "#3185fc",
    "navigationBarTitleText": "互联网",
    "navigationBarTextStyle": "white",
    "backgroundColor": "#3185fc"
  },
  "tabBar": {
    "selectedColor": "#0D98FC",
    "backgroundColor": "#F8F8F8",
    "borderStyle": "white",
    "list": [
      {
        "pagePath": "pages/index/index",
        "iconPath": "images/list/homepage_fill.png",
        "selectedIconPath": "images/list/homepage_fill_2.png",
        "text": "首页"
      },
      {
        "pagePath": "pages/case/case",
        "iconPath": "images/list/manage_fill.png",
        "selectedIconPath": "images/list/manage_fill_2.png",
        "text": "案例"
      },
      {
        "pagePath": "pages/condition/condition",
        "iconPath": "images/list/dynamic_fill.png",
        "selectedIconPath": "images/list/dynamic_fill_2.png",
        "text": "动态"
      },
      {
        "pagePath": "pages/consult/consult",
        "iconPath": "images/list/group_fill.png",
        "selectedIconPath": "images/list/group_fill_2.png",
        "text": "咨询"
      }
    ]
  }
}

控制台没有报错!路径没有问题!

请大神帮帮忙。谢谢!


最后一次编辑于  2018-09-03  (未经腾讯允许,不得转载)
邀请回答
复制链接收藏关注问题回答

6 个回答