收藏
回答

为什么我的tabBar不显示?

代码如下:

{

  "pages": [

    "pages/index/index",

    "pages/shopping/shopping",

    "pages/user/user",

    "pages/logs/logs"

  ],

  "window": {

    "backgroundTextStyle": "light",

    "navigationBarBackgroundColor": "#fff",

    "navigationBarTitleText": "limo_icon",

    "navigationBarTextStyle": "black"

  },

  "tabBar": {

    "list": [

    {

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

        "text": "首页",

        "iconPath": "icon/-home.png",

        "selectedIconPath": "icon/home.png"

    },

    {

        "pagePath": "pages/shopping/shopping",

        "text": "购物车",

        "iconPath": "icon/-shopping.png",

        "selectedIconPath": "icon/shopping.png"

    },

    {

        "pagePath": "pages/user/user",

        "text": "个人中心",

        "iconPath": "icon/-user.png",

        "selectedIconPath": "icon/user.png"

    } ]

  },

  "sitemapLocation": "sitemap.json"

}


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

2 个回答

登录 后发表内容
问题标签