From 5b19b0e39a91e566a835460bf1213e7b3a0582b9 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 17 三月 2025 14:27:14 +0800 Subject: [PATCH] 图 --- custom-tab-bar/data.js | 38 ++++++++++++++++++++++++-------------- 1 files changed, 24 insertions(+), 14 deletions(-) diff --git a/custom-tab-bar/data.js b/custom-tab-bar/data.js index d3c5032..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/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/study/index', + icon: '/static/images/home/learn@2x.png', + activeIcon: '/static/images/home/learn-click@2x.png' }, { - icon: 'sort', - text: '鍒嗙被', - url: 'pages/goods/category/index', - }, - { - 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