| | |
| | | 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', |
| | |
| | | ], |
| | | 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', |
| | |
| | | // 全局weihousecode |
| | | globalweighHouseCode: '', |
| | | // 全局红外状态 |
| | | globalinfraredStatus: false |
| | | globalinfraredStatus: false, |
| | | // 司机修改个人信息 |
| | | globaluserInfo: { |
| | | phone: '', |
| | | name: '', |
| | | username: '', |
| | | type: 3, |
| | | idCard: '', |
| | | carNo: '', |
| | | carImg: '', |
| | | drivingImg: '', |
| | | axleNum: '', |
| | | weight: '', |
| | | userId: '' |
| | | }, |
| | | }, |
| | | mutations: { |
| | | lengthchange(state, payload) { |
| | |
| | | // 改变重量 |
| | | changeWeigh(state, payload) { |
| | | state.globalweigh = payload |
| | | console.log(state.globalweigh, '重量改变了') |
| | | console.log(state.globalweigh, '全局重量改变了') |
| | | }, |
| | | // 消息推送 |
| | | pushMessage(state, payload) { |
| | |
| | | // 改变红外状态 |
| | | changeinfraredStatus(state, payload) { |
| | | state.globalinfraredStatus = payload |
| | | }, |
| | | changeuserInfo(state, payload) { |
| | | state.globaluserInfo = payload |
| | | } |
| | | } |
| | | }) |