From 4e77e01f068e8ea2ec914698aa55fcf369afc919 Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期一, 15 五月 2023 11:17:25 +0800 Subject: [PATCH] 司机首页修改 --- store/index.js | 44 +++++++++++++++++++++++++++++++++++++++----- 1 files changed, 39 insertions(+), 5 deletions(-) diff --git a/store/index.js b/store/index.js index badfcb9..77612ae 100644 --- a/store/index.js +++ b/store/index.js @@ -6,9 +6,15 @@ const userRoleTabbar = { first: [{ pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar', - iconPath: '../../static/tabBar-icon/Gfayun.png', - selectedIconPath: '../../static/tabBar-icon/Bfayun1.png', + iconPath: '../../static/tabBar-icon/home.png', + selectedIconPath: '../../static/tabBar-icon/homeblue.png', text: '棣栭〉' + }, + { + pagePath: 'pages/customer-page/customer-my/faYunstatistics/faYunstatistics', + iconPath: '../../static/tabBar-icon/statistics.png', + selectedIconPath: '../../static/tabBar-icon/statisticsactive.png', + text: '缁熻' }, { pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar', @@ -19,9 +25,15 @@ ], second: [{ pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar', - iconPath: '../../static/tabBar-icon/Ghome.png', - selectedIconPath: '../../static/tabBar-icon/Bhome.png', + iconPath: '../../static/tabBar-icon/home.png', + selectedIconPath: '../../static/tabBar-icon/homeblue.png', text: '棣栭〉' + }, + { + pagePath: 'pages/customer-page/customer-my/faYunstatistics/faYunstatistics', + iconPath: '../../static/tabBar-icon/statistics.png', + selectedIconPath: '../../static/tabBar-icon/statisticsactive.png', + text: '缁熻' }, { pagePath: 'pages/tabbar-page/myPage-tabbar/myPage-tabbar', @@ -44,7 +56,22 @@ // 鍏ㄥ眬weihousecode globalweighHouseCode: '', // 鍏ㄥ眬绾㈠鐘舵�� - globalinfraredStatus: false + globalinfraredStatus: false, + // 鍙告満淇敼涓汉淇℃伅 + globaluserInfo: { + phone: '', + name: '', + username: '', + type: 3, + idCard: '', + carNo: '', + carImg: '', + drivingImg: '', + axleNum: '', + weight: '', + userId: '' + }, + globalisconnect: false }, mutations: { lengthchange(state, payload) { @@ -81,6 +108,13 @@ // 鏀瑰彉绾㈠鐘舵�� changeinfraredStatus(state, payload) { state.globalinfraredStatus = payload + }, + changeuserInfo(state, payload) { + state.globaluserInfo = payload + }, + // 鏀圭増鍏ㄥ眬websocket鐘舵�� + changeisconnect(state, payload) { + state.globalisconnect = payload } } }) -- Gitblit v1.9.1