|
@@ -4,7 +4,7 @@
|
|
<view class="top-height"></view>
|
|
<view class="top-height"></view>
|
|
<view class="head">
|
|
<view class="head">
|
|
<view class="row1">
|
|
<view class="row1">
|
|
- <!-- <u--image class="flex-end" :showLoading="true" src="../../static/images/mine/saoma.png" width="30px"
|
|
|
|
|
|
+ <!-- <u--image class="flex-end" :showLoading="true" src="../../static/images/mine/saoma.png" width="30px"
|
|
height="30px"></u--image> -->
|
|
height="30px"></u--image> -->
|
|
</view>
|
|
</view>
|
|
<view class="row2 flex align-center">
|
|
<view class="row2 flex align-center">
|
|
@@ -14,7 +14,8 @@
|
|
<!-- <view @click="toLogin" class="name">{{hasLogin? userName : '立即登录' }} -->
|
|
<!-- <view @click="toLogin" class="name">{{hasLogin? userName : '立即登录' }} -->
|
|
<!-- {{hasLogin?driverSex:""}} -->
|
|
<!-- {{hasLogin?driverSex:""}} -->
|
|
<!-- <view class="name" v-if='userName'></view> -->
|
|
<!-- <view class="name" v-if='userName'></view> -->
|
|
- <view @click="toLogin" class="name">{{hasLogin? userName : '立即登录' }} {{hasLogin?driverSex:""}}</view>
|
|
|
|
|
|
+ <view @click="toLogin" class="name">{{hasLogin? userName : '立即登录' }} {{hasLogin?driverSex:""}}
|
|
|
|
+ </view>
|
|
<view @click="toLogin" class="phone" v-if="hasLogin">{{starUserphone}}</view>
|
|
<view @click="toLogin" class="phone" v-if="hasLogin">{{starUserphone}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -26,7 +27,7 @@
|
|
<image class="sfrz-icon" src="@/static/images/mine/sfrz.png" mode='widthFix'>
|
|
<image class="sfrz-icon" src="@/static/images/mine/sfrz.png" mode='widthFix'>
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
- <view class="right-text" >
|
|
|
|
|
|
+ <view class="right-text">
|
|
<view class="top">司机认证</view>
|
|
<view class="top">司机认证</view>
|
|
<view class="bottom">{{hasLogin? statusVal : '你还没有完成身份认证' }}</view>
|
|
<view class="bottom">{{hasLogin? statusVal : '你还没有完成身份认证' }}</view>
|
|
</view>
|
|
</view>
|
|
@@ -36,7 +37,7 @@
|
|
<image class="sfrz-icon" src="@/static/images/mine/pingjia@2x.png" mode='widthFix'>
|
|
<image class="sfrz-icon" src="@/static/images/mine/pingjia@2x.png" mode='widthFix'>
|
|
</image>
|
|
</image>
|
|
</view>
|
|
</view>
|
|
- <view class="right-text" >
|
|
|
|
|
|
+ <view class="right-text">
|
|
<view class="top">货主评价</view>
|
|
<view class="top">货主评价</view>
|
|
<view class="bottom">看看货主对你的评价吧</view>
|
|
<view class="bottom">看看货主对你的评价吧</view>
|
|
</view>
|
|
</view>
|
|
@@ -153,14 +154,14 @@
|
|
driverCall: '',
|
|
driverCall: '',
|
|
isFirstSH: false,
|
|
isFirstSH: false,
|
|
driverSex: "",
|
|
driverSex: "",
|
|
- version:"1.1.0"//版本号
|
|
|
|
|
|
+ version: "1.1.0" //版本号
|
|
|
|
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
- // #ifdef APP-PLUS
|
|
|
|
|
|
+ // #ifdef APP-PLUS
|
|
this.version = plus.runtime.version
|
|
this.version = plus.runtime.version
|
|
- // #endif
|
|
|
|
|
|
+ // #endif
|
|
uni.setTabBarItem({
|
|
uni.setTabBarItem({
|
|
index: 0,
|
|
index: 0,
|
|
text: '货源',
|
|
text: '货源',
|
|
@@ -184,7 +185,7 @@
|
|
that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
|
|
that.$request.baseRequest('get', '/newsInfo/unreadMessage', {
|
|
reCommonId: this.userInfo.id,
|
|
reCommonId: this.userInfo.id,
|
|
}).then(res3 => {
|
|
}).then(res3 => {
|
|
- if (res3.data||res3.data==0) {
|
|
|
|
|
|
+ if (res3.data || res3.data == 0) {
|
|
let name = 'myTip';
|
|
let name = 'myTip';
|
|
let value = res3.data
|
|
let value = res3.data
|
|
if (value == 0) {
|
|
if (value == 0) {
|
|
@@ -239,7 +240,7 @@
|
|
await this.$request.baseRequest('', '/driverInfo/firstAuthentication', {
|
|
await this.$request.baseRequest('', '/driverInfo/firstAuthentication', {
|
|
driverPhone: this.userInfo.phone,
|
|
driverPhone: this.userInfo.phone,
|
|
}).then(res => {
|
|
}).then(res => {
|
|
- if(res.data){
|
|
|
|
|
|
+ if (res.data) {
|
|
uni.setStorageSync("firstAuthentication", res.data) //更新缓存数据(解决pc端审核后未及时更新缓存 用于车友判断)
|
|
uni.setStorageSync("firstAuthentication", res.data) //更新缓存数据(解决pc端审核后未及时更新缓存 用于车友判断)
|
|
}
|
|
}
|
|
this.firstAuthentication = res.data
|
|
this.firstAuthentication = res.data
|
|
@@ -261,13 +262,13 @@
|
|
this.statusVal = '身份认证审核中'
|
|
this.statusVal = '身份认证审核中'
|
|
} else if (this.firstAuthentication.authenticationStatus == '未通过') {
|
|
} else if (this.firstAuthentication.authenticationStatus == '未通过') {
|
|
this.statusVal = '身份认证未通过'
|
|
this.statusVal = '身份认证未通过'
|
|
- } else if (this.firstAuthentication.authenticationStatus == '已驳回') {
|
|
|
|
|
|
+ } else if (this.firstAuthentication.authenticationStatus == '已驳回') {
|
|
this.statusVal = '已驳回'
|
|
this.statusVal = '已驳回'
|
|
} else if (this.firstAuthentication.authenticationStatus == '已过期') {
|
|
} else if (this.firstAuthentication.authenticationStatus == '已过期') {
|
|
this.statusVal = '证件已过期'
|
|
this.statusVal = '证件已过期'
|
|
- } else if (this.firstAuthentication.authenticationStatus == '未认证') {
|
|
|
|
|
|
+ } else if (this.firstAuthentication.authenticationStatus == '未认证') {
|
|
this.statusVal = '未认证'
|
|
this.statusVal = '未认证'
|
|
- }else {
|
|
|
|
|
|
+ } else {
|
|
this.statusVal = '已认证'
|
|
this.statusVal = '已认证'
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
@@ -314,7 +315,8 @@
|
|
if (!this.hasLogin) {
|
|
if (!this.hasLogin) {
|
|
this.isShowAlert = true;
|
|
this.isShowAlert = true;
|
|
} else {
|
|
} else {
|
|
- if (type == 1 && this.statusVal == '已认证' || type == 1 &&this.statusVal == '证件已过期' || type == 1 &&this.statusVal == '身份认证未通过'|| type == 1 &&this.statusVal == '已驳回') {
|
|
|
|
|
|
+ if (type == 1 && this.statusVal == '已认证' || type == 1 && this.statusVal == '证件已过期' || type == 1 && this
|
|
|
|
+ .statusVal == '身份认证未通过' || type == 1 && this.statusVal == '已驳回') {
|
|
src = '/pages/mine/editDriverCertification'
|
|
src = '/pages/mine/editDriverCertification'
|
|
}
|
|
}
|
|
if ((type == 2 || type == 3) && this.isFirstSH) {
|
|
if ((type == 2 || type == 3) && this.isFirstSH) {
|
|
@@ -451,9 +453,8 @@
|
|
margin: 10rpx 0 50rpx 0;
|
|
margin: 10rpx 0 50rpx 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .version_css{
|
|
|
|
-
|
|
|
|
- // margin-top: 100rpx;
|
|
|
|
|
|
+
|
|
|
|
+ .version_css {
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
bottom: 120rpx;
|
|
bottom: 120rpx;
|
|
color: #9D9D9D;
|
|
color: #9D9D9D;
|
|
@@ -461,6 +462,8 @@
|
|
// position:fixed;
|
|
// position:fixed;
|
|
position: absolute;
|
|
position: absolute;
|
|
text-align: center;
|
|
text-align: center;
|
|
- left:0;right:0;margin:0 auto;
|
|
|
|
|
|
+ left: 0;
|
|
|
|
+ right: 0;
|
|
|
|
+ margin: 0 auto;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|