tabBar图标不显示
发布于 6 年前 作者 wumin 19912 次浏览 来自 问答
  • 当前 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": "咨询"
      }
    ]
  }
}

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

请大神帮帮忙。谢谢!

3 回复

你好,该问题已修复,请更新开发者工具重试:https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html

已知BUG,我昨天是通过重启开发者工具好了。

回到顶部