收藏
回答

taBar显示不出来?

{

  "pages": [ 

    "pages/index/index",

    "pages/calc/calc",

    "pages/history/history",

    "pages/logs/logs",

    "pages/huobiduihuan/huobiduihuan",

      "pages/jisuanqi/jisuanqi",

    "pages/jishiqi/jishiqi",

    "pages/ditu/ditu" 

  ],

  "window": {

    "navigationBarBackgroundColor": "#da7c0c",

    "navigationBarTitleText": "共同的家",

    "navigationBarTextStyle": "white"

  },

  "taBar": {

    "color": "#000",

    "selectedColor": "#00f",

    "list": [

      {

        "pagePath": "pages/index/index",

        "text": "家庭首页",

        "iconPath":"/images/guanmen.JPG",

        "selectedIconPath":"/images/kaimeng.JPG"

      },

      {

        "pagePath": "pages/jisuanqi/jisuanqi",

        "text": "家庭计算器",

        "iconPath":"/images/guanmen.JPG",

        "selectedIconPath":"/images/kaimeng.JPG"

      },

      {

        "pagePath": "pages/jishiqi/jishiqi",

        "text": "家庭计时器",

        "iconPath":"/images/guanmen.JPG",

        "selectedIconPath":"/images/kaimeng.JPG"

      },

      {

        "pagePath": "pages/ditu/ditu",

        "text": "家庭地图",

        "iconPath":"/images/guanmen.JPG",

        "selectedIconPath":"/images/kaimeng.JPG"

      },

      {

        "pagePath": "pages/huobiduihuan/huobiduihuan",

        "text": "家庭货币兑换",

        "iconPath":"/images/guanmen.JPG",

        "selectedIconPath":"/images/kaimeng.JPG"

      }

    ]

  },

  "sitemapLocation": "sitemap.json"

 

}


回答关注问题邀请回答
收藏

3 个回答

  • Admin ²º²⁴
    Admin ²º²⁴
    2020-07-23
    注意是tabBar而不是taBar
    
    


    2020-07-23
    有用 2
    回复 1
    • 超超
      超超
      2020-07-23
      搞定了,谢谢,又粗心了
      2020-07-23
      回复
  • 寻己
    寻己
    2020-07-23

    tabar中backgroundColor属性是必填项,你的没写

    2020-07-23
    有用
    回复
  • Riven.
    Riven.
    2020-07-23

    你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

    2020-07-23
    有用
    回复
登录 后发表内容
问题标签