暂存代码
This commit is contained in:
@@ -3,33 +3,14 @@
|
||||
<Header :leftTitle="$t('authentication.title')" left-path-type="switchTab" left-path="/pages/mine/mine"/>
|
||||
<view class="authentication_ok_content" v-if="currentUserData && Object.keys(currentUserData).length !==0">
|
||||
<view class="authentication_result">
|
||||
<!-- <view class="result_title">您的实名认证</view>
|
||||
<view class="result_value">{{getValue(CERT_STATUS_OPTION,currentUserData.certStatus)}}</view> -->
|
||||
<up-image src="/static/mine/auth_ok.png" mode="widthFix" shape="circle" width="140" height="140" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||
<view class="result_value">{{getValue(CERT_STATUS_OPTION,currentUserData.certStatus)}}</view>
|
||||
</view>
|
||||
<!-- <view class="authentication_info">
|
||||
<view class="info_item">
|
||||
<text class="info_item_title">证件姓名:</text>
|
||||
<text class="info_item_value">{{currentUserData.name}}</text>
|
||||
<view v-if="currentUserData.certStatus === 3" class="reauthentication_warp">
|
||||
<view class="reauthentication_but_warp" @click="reauthenticationFun">
|
||||
重新认证
|
||||
</view>
|
||||
<view class="info_item">
|
||||
<text class="info_item_title">证件类型:</text>
|
||||
<text class="info_item_value">{{getValue(CERT_OPTION,currentUserData.certType)}}!</text>
|
||||
</view>
|
||||
<view class="info_item">
|
||||
<text class="info_item_title">证件正面:</text>
|
||||
<view class="info_item_value">
|
||||
<up-image :src="currentUserData.certFimg" mode="widthFix" width="100%" height="140" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="info_item">
|
||||
<text class="info_item_title">证件背面:</text>
|
||||
<view class="info_item_value">
|
||||
<up-image :src="currentUserData.certBimg" mode="widthFix" width="100%" height="140" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="not_order_warp">
|
||||
<up-image src="/static/common/not_order.png" width="80" height="80" bgColor="#f1f6ff00"></up-image>
|
||||
@@ -68,10 +49,17 @@
|
||||
const result = await getUserInfo();
|
||||
if(result && result.bizcode === 100){
|
||||
const data = result.data;
|
||||
console.log("data",data);
|
||||
this.currentUserData = result.data || {};
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 重新认证
|
||||
*/
|
||||
reauthenticationFun(){
|
||||
uni.navigateTo({
|
||||
url:'/pages/mine_authentication/mine_authentication',
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -101,6 +89,19 @@
|
||||
line-height: 80rpx;
|
||||
}
|
||||
}
|
||||
.reauthentication_warp{
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
.reauthentication_but_warp{
|
||||
margin-top: 100rpx;
|
||||
border: 1rpx solid $app-zt-color;
|
||||
color: $app-zt-color;
|
||||
padding: 8rpx 10rpx;
|
||||
width: 200rpx;
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.authentication_info{
|
||||
background: #F8F8F8;
|
||||
border-radius: 10rpx;
|
||||
|
||||
Reference in New Issue
Block a user