tabBar
发布于 5 年前 作者 gang94 19060 次浏览 来自 问答

如何在非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"

      }

    ]

   },

  

}

回到顶部