no message
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<view class="authentication_ok_warp">
|
||||
<Header :leftTitle="$t('authentication.title')" left-path-type="switchTab" left-path="/pages/mine/mine" />
|
||||
<Header class="head-view-one" :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">
|
||||
<up-image src="https://cex-pub.s3.ap-southeast-1.amazonaws.com/static/auth_ok.png" mode="widthFix"
|
||||
shape="circle" width="140" height="140" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||
<up-image src="/static/new/ren.png" mode="widthFix"
|
||||
shape="circle" width="90" height="104" bgColor="#f1f6ff00" :fade="true" duration="450"></up-image>
|
||||
<view class="result_value">{{ getValue(CERT_STATUS_OPTION, currentUserData.certStatus) }}</view>
|
||||
</view>
|
||||
<view v-if="currentUserData.certStatus === 3" class="reauthentication_warp">
|
||||
@@ -18,6 +18,10 @@
|
||||
bgColor="#f1f6ff00"></up-image>
|
||||
<view class="not_order_msg_warp">暂无相关认证信息</view>
|
||||
</view>
|
||||
<view class="bottom-btn">
|
||||
<MyBtn @ok="onClick" style="width:100%" mh="88rpx" text="修改认证" br="8rpx" bg="linear-gradient( 270deg, #B164FB 0%, #7934F6 100%)" wd="200rpx"></MyBtn>
|
||||
</view>
|
||||
|
||||
<up-toast ref="uToastRef"></up-toast>
|
||||
</view>
|
||||
</template>
|
||||
@@ -25,6 +29,7 @@
|
||||
<script>
|
||||
import Header from '@/components/header.vue';
|
||||
import { getUserInfo } from '@/api/auth.js';
|
||||
import MyBtn from '@/components/common/my-btn.vue'
|
||||
import { getValue, CERT_OPTION, CERT_STATUS_OPTION } from '@/utils/enumUtils.js';
|
||||
|
||||
export default {
|
||||
@@ -36,7 +41,7 @@ export default {
|
||||
return CERT_STATUS_OPTION;
|
||||
},
|
||||
},
|
||||
components: { Header },
|
||||
components: { Header,MyBtn },
|
||||
data() {
|
||||
return {
|
||||
currentUserData: {},// 当前用户信息
|
||||
@@ -47,6 +52,11 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getValue,
|
||||
onClick(){
|
||||
uni.redirectTo({
|
||||
url:"/pages/mine_package/mine_authentication/mine_authentication"
|
||||
})
|
||||
},
|
||||
async getUserInfo() {
|
||||
const result = await getUserInfo();
|
||||
if (result && result.bizcode === 100) {
|
||||
@@ -67,10 +77,26 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.bottom-btn{
|
||||
width:100%;
|
||||
flex:1;
|
||||
padding: 0 24rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: flex-end;
|
||||
margin-bottom:70rpx;
|
||||
}
|
||||
.authentication_ok_warp {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
background-color: #FFFFFF;
|
||||
|
||||
.head-view-one
|
||||
{
|
||||
width:calc(100vw - 64rpx);
|
||||
}
|
||||
.authentication_ok_content {
|
||||
padding: 60rpx;
|
||||
}
|
||||
@@ -80,7 +106,7 @@ export default {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
margin-top: 100rpx;
|
||||
// margin-top: 100rpx;
|
||||
|
||||
.result_title {
|
||||
font-weight: bold;
|
||||
|
||||
Reference in New Issue
Block a user