From 2490d3321f6d6f9b5bacf29225387f7c3f89a2b4 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 20 六月 2024 15:47:15 +0800 Subject: [PATCH] feat:司机填写集装箱号 --- store/index.js | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 43 insertions(+), 2 deletions(-) diff --git a/store/index.js b/store/index.js index ac8863b..59360b8 100644 --- a/store/index.js +++ b/store/index.js @@ -59,7 +59,45 @@ selectedIconPath: '../../static/tabBar-icon/Bmine57.png', text: '鎴戠殑' } - ] + ], + fourth: [{ + pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar', + iconPath: '../../static/tabBar-icon/home.png', + selectedIconPath: '../../static/tabBar-icon/homeblue.png', + text: '杩涘満' + },{ + pagePath: 'pages/doorkeeper-page/doorkeeper-index/exit-index', + 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/Gmine10.png', + selectedIconPath: '../../static/tabBar-icon/Bmine57.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: { @@ -171,7 +209,10 @@ 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) } }, -- Gitblit v1.9.1