|
@@ -23,9 +23,6 @@
|
|
|
}
|
|
|
},
|
|
|
onShow() {
|
|
|
-
|
|
|
- },
|
|
|
- onLoad() {
|
|
|
this.statusVal = uni.getStorageSync("firstAuthentication").authenticationStatus
|
|
|
if (this.statusVal == '未认证' || !this.statusVal) {
|
|
|
this.tipsInfo = "认证司机身份后即可查看车友信息哦"
|
|
@@ -38,7 +35,20 @@
|
|
|
this.tipsInfo = "您的身份没用通过审核哦,您可以重新认证身份~"
|
|
|
this.type = 3
|
|
|
}
|
|
|
+ if(this.statusVal == "已认证"){
|
|
|
+ uni.setTabBarItem({
|
|
|
+ index: 1,
|
|
|
+ text: '车友',
|
|
|
+ pagePath: "/pages/riders/index",
|
|
|
+ iconPath: 'static/images/common/zhaoche.png',
|
|
|
+ selectedIconPath: 'static/images/common/zhaoche_check.png'
|
|
|
+ })
|
|
|
+ uni.switchTab({
|
|
|
+ url: '/pages/riders/index'
|
|
|
+ });
|
|
|
+ }
|
|
|
},
|
|
|
+ onLoad() {},
|
|
|
methods:{
|
|
|
authentication(num){
|
|
|
if (num == 1) {
|