From ea7457be6870e35cd385e163ca9bba26d7621d66 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 27 二月 2025 17:08:06 +0800 Subject: [PATCH] feat:无人值守h5增加门卫端 --- store/index.js | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/store/index.js b/store/index.js index 7b7f211..c3d9a0a 100644 --- a/store/index.js +++ b/store/index.js @@ -68,7 +68,19 @@ selectedIconPath: '../../static/tabBar-icon/Bmine57.png', text: '鎴戠殑' } - + ], + seven:[{ + 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({ @@ -185,6 +197,9 @@ }else if(roleType == 6){ state.userTabbar = userRoleTabbar.six uni.setStorageSync('userTabbar', state.userTabbar) + }else if(roleType == 7){ + state.userTabbar = userRoleTabbar.seven + uni.setStorageSync('userTabbar', state.userTabbar) } }, // 鏀瑰彉閲嶉噺 -- Gitblit v1.9.1