码迷,mamicode.com
首页 > 微信 > 详细

微信小程序-导航栏制作

时间:2021-04-08 13:41:30      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:首页   list   color   border   hit   text   微信小程序   style   ted   

"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"
      }
    ]
  }

微信小程序-导航栏制作

标签:首页   list   color   border   hit   text   微信小程序   style   ted   

原文地址:https://www.cnblogs.com/gmbjzg/p/14629550.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!