From 1a5e46e6955225675d21fe04962e82b37e7890ed Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 15 十月 2024 16:02:26 +0800 Subject: [PATCH] ziyuan --- 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