From 77252da784ffa4036d613054696f73fbfdafb6d9 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期六, 27 七月 2024 17:48:51 +0800 Subject: [PATCH] feature:质检样式调整 --- store/index.js | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 43 insertions(+), 2 deletions(-) diff --git a/store/index.js b/store/index.js index 6343509..75388c5 100644 --- a/store/index.js +++ b/store/index.js @@ -70,8 +70,46 @@ iconPath: '../../static/tabBar-icon/home.png', selectedIconPath: '../../static/tabBar-icon/homeblue.png', text: '鍑哄満' - } + }, + { + pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar', + iconPath: '../../static/tabBar-icon/Gmine10.png', + selectedIconPath: '../../static/tabBar-icon/Bmine57.png', + text: '鎴戠殑' + }, + ], + five:[{ + pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar', + iconPath: '../../static/tabBar-icon/home.png', + selectedIconPath: '../../static/tabBar-icon/homeblue.png', + text: '棣栭〉' + }, + { + pagePath: 'pages/loadUnload-page/orderPlanList/index', + iconPath: '../../static/tabBar-icon/statistics.png', + selectedIconPath: '../../static/tabBar-icon/statisticsactive.png', + text: '鏃ヨ鍒�' + }, + { + pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar', + iconPath: '../../static/tabBar-icon/Gmine10.png', + selectedIconPath: '../../static/tabBar-icon/Bmine57.png', + text: '鎴戠殑' + } + ], + six:[{ + pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar', + iconPath: '../../static/tabBar-icon/home.png', + selectedIconPath: '../../static/tabBar-icon/homeblue.png', + text: '棣栭〉' + }, + { + pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar', + iconPath: '../../static/tabBar-icon/Gmine10.png', + selectedIconPath: '../../static/tabBar-icon/Bmine57.png', + text: '鎴戠殑' + }] } const store = new Vuex.Store({ state: { @@ -183,11 +221,14 @@ state.userTabbar = userRoleTabbar.second uni.setStorageSync('userTabbar', state.userTabbar) } else if (roleType == 5) { - state.userTabbar = userRoleTabbar.three + state.userTabbar = userRoleTabbar.five uni.setStorageSync('userTabbar', state.userTabbar) }else if (roleType == 6) { state.userTabbar = userRoleTabbar.fourth uni.setStorageSync('userTabbar', state.userTabbar) + }else if (roleType == 7) { + state.userTabbar = userRoleTabbar.six + uni.setStorageSync('userTabbar', state.userTabbar) } }, // 鏀瑰彉閲嶉噺 -- Gitblit v1.9.1