收藏
回答

tabBar

问题模块
API和组件

如何在非tabBar页面显示tabBar  比如我想在  "pages/card/card"显示tabBar  可以吗


{

  "pages":[

    "pages/index/index",

    "pages/login/login",

    "pages/orderlist/orderlist",

    "pages/orderinfo/orderinfo",

    "pages/card/card",

  ],

  

  "window":{

    "backgroundTextStyle":"light",

    "navigationBarBackgroundColor": "#000",

    "navigationBarTitleText": "WeChat",

    "navigationBarTextStyle":"#fff"

   

  },

 "tabBar": {

    "color": "#bfbfbf",

    "selectedColor":"black",

    "list": [

      {

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

        "text": "首页",

        "iconPath": "images/mainpage/hme.png",

        "selectedIconPath": "images/mainpage/hmea.png"

      },

      {

        "pagePath": "pages/orderlist/orderlist",

        "text": "账单",

        "iconPath": "images/mainpage/order.png",

        "selectedIconPath": "images/mainpage/ordera.png"

      }

    ]

   },

  

}


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

2 个回答

  • 张文
    张文
    2017-09-22

    +1

    2017-09-22
    赞同
    回复
  • 漠天
    漠天
    2017-11-12

    +1

    2017-11-12
    赞同
    回复