|
@@ -50,7 +50,9 @@
|
|
</image>
|
|
</image>
|
|
<view>管理银行卡</view>
|
|
<view>管理银行卡</view>
|
|
</view>
|
|
</view>
|
|
- <view> <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image> </view>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-space-between" @click="goDetailPage('/pages/mine/manageVehicles/index',3)">
|
|
<view class="flex flex-space-between" @click="goDetailPage('/pages/mine/manageVehicles/index',3)">
|
|
<view class="flex align-center">
|
|
<view class="flex align-center">
|
|
@@ -58,7 +60,9 @@
|
|
</image>
|
|
</image>
|
|
<view>管理车辆</view>
|
|
<view>管理车辆</view>
|
|
</view>
|
|
</view>
|
|
- <view><image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image></view>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-space-between" @click="$helper.contactCustomerService">
|
|
<view class="flex flex-space-between" @click="$helper.contactCustomerService">
|
|
<view class="flex align-center">
|
|
<view class="flex align-center">
|
|
@@ -66,7 +70,9 @@
|
|
</image>
|
|
</image>
|
|
<view>联系客服</view>
|
|
<view>联系客服</view>
|
|
</view>
|
|
</view>
|
|
- <view> <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image></view>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-space-between" @click="goDetailPage('/pages/mine/helpDescription')">
|
|
<view class="flex flex-space-between" @click="goDetailPage('/pages/mine/helpDescription')">
|
|
<view class="flex align-center">
|
|
<view class="flex align-center">
|
|
@@ -74,7 +80,9 @@
|
|
</image>
|
|
</image>
|
|
<view>帮助说明</view>
|
|
<view>帮助说明</view>
|
|
</view>
|
|
</view>
|
|
- <view> <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image></view>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
<view class="flex flex-space-between" @click="goDetailPage('/pages/mine/set')">
|
|
<view class="flex flex-space-between" @click="goDetailPage('/pages/mine/set')">
|
|
<view class="flex align-center">
|
|
<view class="flex align-center">
|
|
@@ -82,11 +90,13 @@
|
|
</image>
|
|
</image>
|
|
<view>设置</view>
|
|
<view>设置</view>
|
|
</view>
|
|
</view>
|
|
- <view> <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image></view>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <image src="../../static/images/myimg/gengduo1@3x.png" class="arrow"></image>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <u-modal :show="isShowAlert" :title="alertTitle" :content='alertContent' :closeOnClickOverlay='true'
|
|
|
|
- :showCancelButton='true' confirmColor='#2772FB' @confirm="confirmClick" @close="cancelClick"
|
|
|
|
|
|
+ <u-modal :show="isShowAlert" :title="alertTitle" :closeOnClickOverlay='true' :confirmText='confirmText'
|
|
|
|
+ :showCancelButton='showCancelButton' confirmColor='#2772FB' @confirm="confirmClick" @close="cancelClick"
|
|
@cancel="cancelClick"></u-modal>
|
|
@cancel="cancelClick"></u-modal>
|
|
<u-toast ref="uToast"></u-toast>
|
|
<u-toast ref="uToast"></u-toast>
|
|
</view>
|
|
</view>
|
|
@@ -100,6 +110,8 @@
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ confirmText: '',
|
|
|
|
+ showCancelButton: true,
|
|
userName: '',
|
|
userName: '',
|
|
phone: '',
|
|
phone: '',
|
|
headUrl: "../../static/images/myimg/YongHu@3x.png",
|
|
headUrl: "../../static/images/myimg/YongHu@3x.png",
|
|
@@ -147,8 +159,23 @@
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- onLoad() {
|
|
|
|
|
|
+ async onLoad() {
|
|
that = this
|
|
that = this
|
|
|
|
+ // #ifdef APP-PLUS
|
|
|
|
+ let _status = await that.$request.baseRequest('get', '/driverInfo/firstAuthentication', {
|
|
|
|
+ driverPhone: this.userInfo.phone,
|
|
|
|
+ }).then(res => {
|
|
|
|
+ return res.data.authenticationStatus
|
|
|
|
+ })
|
|
|
|
+ if (_status == '已禁用') {
|
|
|
|
+ this.isShowAlert = true
|
|
|
|
+ this.alertTitle = '账号审核中'
|
|
|
|
+ this.confirmText = '退出APP'
|
|
|
|
+ this.showCancelButton = false
|
|
|
|
+ } else {
|
|
|
|
+ console.log(1231233212332312312213)
|
|
|
|
+ }
|
|
|
|
+ // #endif
|
|
|
|
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -182,10 +209,9 @@
|
|
this.statusVal = '身份认证审核中'
|
|
this.statusVal = '身份认证审核中'
|
|
} else if (this.firstAuthentication.authenticationStatus == '未通过') {
|
|
} else if (this.firstAuthentication.authenticationStatus == '未通过') {
|
|
this.statusVal = '身份认证未通过'
|
|
this.statusVal = '身份认证未通过'
|
|
- }
|
|
|
|
- else if (this.firstAuthentication.authenticationStatus == '已过期') {
|
|
|
|
- this.statusVal = '证件已过期'
|
|
|
|
- }else {
|
|
|
|
|
|
+ } else if (this.firstAuthentication.authenticationStatus == '已过期') {
|
|
|
|
+ this.statusVal = '证件已过期'
|
|
|
|
+ } else {
|
|
this.statusVal = '已认证'
|
|
this.statusVal = '已认证'
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
@@ -212,6 +238,16 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
confirmClick() {
|
|
confirmClick() {
|
|
|
|
+ // #ifdef APP-PLUS
|
|
|
|
+ if (this.alertTitle = '账号审核中') {
|
|
|
|
+ if (uni.getSystemInfoSync().platform == 'ios') {
|
|
|
|
+ plus.ios.import("UIApplication").sharedApplication().performSelector("exit")
|
|
|
|
+ } else if (uni.getSystemInfoSync().platform == 'android') {
|
|
|
|
+ plus.runtime.quit();
|
|
|
|
+ }
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ // #endif
|
|
this.isShowAlert = false
|
|
this.isShowAlert = false
|
|
uni.$u.route('/pages/public/login');
|
|
uni.$u.route('/pages/public/login');
|
|
},
|
|
},
|
|
@@ -266,13 +302,14 @@
|
|
height: var(--status-bar-height);
|
|
height: var(--status-bar-height);
|
|
}
|
|
}
|
|
|
|
|
|
-.arrow {
|
|
|
|
|
|
+ .arrow {
|
|
margin-left: 15px;
|
|
margin-left: 15px;
|
|
width: 8px;
|
|
width: 8px;
|
|
height: 12px;
|
|
height: 12px;
|
|
// justify-content: flex-end
|
|
// justify-content: flex-end
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
.head {
|
|
.head {
|
|
.row1 {
|
|
.row1 {
|
|
display: flex;
|
|
display: flex;
|