zs
litian
2024-09-24 3af1a4c3f1712445a17376205b9ee3c4d7768da6
custom-tab-bar/data.js
@@ -1,27 +1,37 @@
export default [
  {
    icon: 'home',
export default [{
    id: 0,
    text: '首页',
    url: 'pages/home/home',
    icon: '/static/images/home/Home@2x.png',
    activeIcon: '/static/images/home/Home-click@2x.png'
  },
  {
    icon: 'sort',
    id: 1,
    text: '图书服务',
    url: 'pages/bookServices/assort/index',
    icon: '/static/images/home/service@2x.png',
    activeIcon: '/static/images/home/service-click@2x.png'
  },
  {
    icon: 'sort',
    id: 2,
    text: '学习',
    url: 'pages/goods/category/index',
    url: 'pages/study/index',
    icon: '/static/images/home/learn@2x.png',
    activeIcon: '/static/images/home/learn-click@2x.png'
  },
  {
    icon: 'cart',
    id: 3,
    text: '购物车',
    url: 'pages/cart/index',
    icon: '/static/images/home/cart@2x.png',
    activeIcon: '/static/images/home/cart-click@2x.png'
  },
  {
    icon: 'person',
    id: 4,
    text: '个人中心',
    url: 'pages/usercenter/index',
    url: 'pages/personalCenter/index',
    icon: '/static/images/home/my@2x.png',
    activeIcon: '/static/images/home/my-click@2x.png'
  },
];
];