ts
litian
2024-09-27 d780880b7a73360c8fc9fead1b429dd8ba3758e3
custom-tab-bar/data.js
@@ -1,33 +1,37 @@
export default [
  {
export default [{
    id: 0,
    text: '首页',
    url: 'pages/home/home',
    icon: '/static/images/home/Home@2x.png',
    activeIcon: '/static/images/home/Home-click@2x.png'
  },
  {
    id: 1,
    text: '图书服务',
    url: 'pages/bookServices/index',
    url: 'pages/bookServices/assort/index',
    icon: '/static/images/home/service@2x.png',
    activeIcon: '/static/images/home/service-click@2x.png'
  },
  {
    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'
  },
  {
    id: 3,
    text: '购物车',
    url: 'pages/cart/index',
    icon: '/static/images/home/cart@2x.png',
    activeIcon: '/static/images/home/cart-click@2x.png'
  },
  {
    id: 4,
    text: '个人中心',
    url: 'pages/personalCenter/index',
    icon: '/static/images/home/my@2x.png',
    activeIcon: '/static/images/home/my-click@2x.png'
  },
];
];