From a9877004f436bb9f53173c1692de345726e0e521 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期五, 20 十二月 2024 17:52:52 +0800 Subject: [PATCH] 优化(题干加东西) --- custom-tab-bar/data.js | 29 +++++++++++++++++++---------- 1 files changed, 19 insertions(+), 10 deletions(-) diff --git a/custom-tab-bar/data.js b/custom-tab-bar/data.js index 34da94e..36dabc8 100644 --- a/custom-tab-bar/data.js +++ b/custom-tab-bar/data.js @@ -1,28 +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/index' + 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/personalCenter/index', + icon: '/static/images/home/my@2x.png', + activeIcon: '/static/images/home/my-click@2x.png' }, -]; +]; \ No newline at end of file -- Gitblit v1.9.1