From 04c7b0163caeae4ab1c5da62e301fa993101cfad Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 31 三月 2025 10:40:45 +0800 Subject: [PATCH] bug修改 --- custom-tab-bar/data.js | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) diff --git a/custom-tab-bar/data.js b/custom-tab-bar/data.js index c6a4cb9..36dabc8 100644 --- a/custom-tab-bar/data.js +++ b/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' }, -]; +]; \ No newline at end of file -- Gitblit v1.9.1