| | |
| | | selectedIconPath: '../../static/tabBar-icon/Bmine57.png', |
| | | text: '我的' |
| | | } |
| | | ], |
| | | three: [{ |
| | | pagePath: 'pages/tabbar-page/index-tabbar/index-tabbar', |
| | | iconPath: '../../static/tabBar-icon/home.png', |
| | | selectedIconPath: '../../static/tabBar-icon/homeblue.png', |
| | | text: '首页' |
| | | }, |
| | | { |
| | | pagePath: 'pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan', |
| | | iconPath: '../../static/tabBar-icon/checking.png', |
| | | selectedIconPath: '../../static/tabBar-icon/checkingblue.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', |
| | | iconPath: '../../static/tabBar-icon/Gmine10.png', |
| | | selectedIconPath: '../../static/tabBar-icon/Bmine57.png', |
| | | text: '我的' |
| | | } |
| | | ] |
| | | } |
| | | const store = new Vuex.Store({ |
| | |
| | | } else if (roleType == 2 || roleType == 3) { |
| | | state.userTabbar = userRoleTabbar.second |
| | | uni.setStorageSync('userTabbar', state.userTabbar) |
| | | } else if (roleType == 4) { |
| | | state.userTabbar = userRoleTabbar.three |
| | | uni.setStorageSync('userTabbar', state.userTabbar) |
| | | } |
| | | }, |
| | | // 改变重量 |