fix
This commit is contained in:
parent
155c75d08f
commit
11a6a206a7
@ -29,7 +29,13 @@
|
||||
:disabled="isAnimate"
|
||||
></u-button>
|
||||
<view style="margin-top: 20rpx;">
|
||||
<u-button text="确认" shape="circle" color="#76C458" @click="back" :disabled="isEnd"></u-button>
|
||||
<u-button
|
||||
text="确认"
|
||||
shape="circle"
|
||||
color="#76C458"
|
||||
@click="back"
|
||||
:disabled="isEnd||tips !== '⚪录制完成'"
|
||||
></u-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -52,7 +52,6 @@
|
||||
</div>
|
||||
<div class="content4">
|
||||
<div class="wrap1" @click="logout">注销账号</div>
|
||||
<div class="wrap2" @click="quit">退出登录</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@ -111,17 +110,15 @@ export default {
|
||||
avatar: "https://cdns.fontree.cn/fonchain-main/prod/image/407e7c22-eb62-411e-957b-b6c296fde530/artwork/814ac246-e1eb-49fe-beee-dd53aaf5d309.png",
|
||||
});
|
||||
},
|
||||
quit(){
|
||||
uni.clearStorageSync();
|
||||
uni.navigateTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
},
|
||||
|
||||
async logout(){
|
||||
let res = await this.$api.mine.logout();
|
||||
if (res.status === 0) {
|
||||
this.$common.msgToast('注销成功');
|
||||
this.quit();
|
||||
uni.clearStorageSync();
|
||||
uni.navigateTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
} else {
|
||||
this.$common.msgToast(res.msg);
|
||||
}
|
||||
|
@ -61,7 +61,7 @@
|
||||
</view>
|
||||
<view class="face">
|
||||
<view class="faceTitle">法大大认证</view>
|
||||
<view class="recognition" @click="fddRealName" v-if="!isFdd">
|
||||
<view class="recognition" @click="fddRealName" v-if="!isFddSuccess">
|
||||
<view style="color: #fff;margin-right:10rpx">前往认证</view>
|
||||
<u-icon name="arrow-right-double" color="#fff"></u-icon>
|
||||
</view>
|
||||
@ -84,6 +84,7 @@
|
||||
<u-button text="完成注册" shape="circle" @click="completeRegistration" color="#76C458"></u-button>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <u-loading-page bg-color="rgba(0, 0, 0, 0.8)" loading-text="数据正在加载中" :loading="show"></u-loading-page> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -98,7 +99,9 @@ export default {
|
||||
fileList: [],
|
||||
fileList2: [],
|
||||
video: '',
|
||||
isChecked: false
|
||||
isChecked: false,
|
||||
isFddSuccess:false,
|
||||
// show:false
|
||||
};
|
||||
},
|
||||
async onLoad(options) {
|
||||
@ -122,6 +125,9 @@ export default {
|
||||
// this.isFdd = uni.getStorageSync("isFdd") || false
|
||||
uni.removeStorageSync("info")
|
||||
},
|
||||
onShow() {
|
||||
this.checkFdd()
|
||||
},
|
||||
methods: {
|
||||
changeName(value) {
|
||||
this.name = value;
|
||||
@ -289,6 +295,7 @@ export default {
|
||||
checkFdd() {
|
||||
return this.$api.login.checkFdd().then((res) => {
|
||||
if (res.status === 0) {
|
||||
this.isFddSuccess = true
|
||||
return res.data.isVerify
|
||||
} else {
|
||||
this.$common.msgToast(res.msg)
|
||||
|
Loading…
Reference in New Issue
Block a user