微信小程序-导航栏制作

时间:2021-04-08 13:41:30   收藏:0   阅读:0
"tabBar": {
    "color": "#8a8a8a",
    "selectedColor": "#1AAD16",
    "backgroundColor": "#fff",
    "borderStyle": "white",
    "list": [
      {
        "pagePath": "pages/index/index",
        "text": "首页",
        "iconPath": "./icon/home.png",
        "selectedIconPath": "./icon/home-select.png"
      },
      {
        "pagePath": "pages/category/category",
        "text": "分类",
        "iconPath": "./icon/category.png",
        "selectedIconPath": "./icon/category-select.png"
      },
      {
        "pagePath": "pages/cart/cart",
        "text": "购物车",
        "iconPath": "./icon/cart.png",
        "selectedIconPath": "./icon/cart-select.png"
      },
      {
        "pagePath": "pages/user/user",
        "text": "我的",
        "iconPath": "./icon/my.png",
        "selectedIconPath": "./icon/my-select.png"
      }
    ]
  }
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2
迷上了代码!