selectedColor设置颜色无效果
发布于 7 年前 作者 hmao 8375 次浏览 来自 官方Issues
"tabBar": {
    "color": "#555",
    "selectedColor": "#1296db",
    "borderStyle":"white",
    "list": [
      {
        "pagePath": "pages/index/index",
        "text": "武",
        "iconPath": "images/scann_default.png",
        "selectedIconPath": "images/scann_after.png"
      },
      {
        "pagePath": "pages/netPoint/netPointList/netPointList",
        "text": "汉",
        "iconPath": "images/net_default.png",
        "selectedIconPath": "images/net_after.png"
      },
      {
        "pagePath": "pages/my/wallet/wallet",
        "text": "加",
        "iconPath": "images/money_default.png",
        "selectedIconPath": "images/money_after.png"
      },
      {
        "pagePath": "pages/my/mine/mine",
        "text": "油",
        "iconPath": "images/mine_default.png",
        "selectedIconPath": "images/mine_after.png"
      }
    ]
  },
2 回复

在list同级别下设置selectcolor试试

现在是否正常?

回到顶部