Compare commits
No commits in common. "62e80388ec378efd745c99941454541c1874ead2" and "811b5e15f435dbfb76a3bfaa7a2fd6be8f4b4367" have entirely different histories.
62e80388ec
...
811b5e15f4
@ -29,13 +29,7 @@
|
||||
:disabled="isAnimate"
|
||||
></u-button>
|
||||
<view style="margin-top: 20rpx;">
|
||||
<u-button
|
||||
text="确认"
|
||||
shape="circle"
|
||||
color="#76C458"
|
||||
@click="back"
|
||||
:disabled="isEnd||tips !== '⚪录制完成'"
|
||||
></u-button>
|
||||
<u-button text="确认" shape="circle" color="#76C458" @click="back" :disabled="isEnd"></u-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -52,6 +52,7 @@
|
||||
</div>
|
||||
<div class="content4">
|
||||
<div class="wrap1" @click="logout">注销账号</div>
|
||||
<div class="wrap2" @click="quit">退出登录</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@ -110,15 +111,17 @@ 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('注销成功');
|
||||
uni.clearStorageSync();
|
||||
uni.navigateTo({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
this.quit();
|
||||
} 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="!isFddSuccess">
|
||||
<view class="recognition" @click="fddRealName" v-if="!isFdd">
|
||||
<view style="color: #fff;margin-right:10rpx">前往认证</view>
|
||||
<u-icon name="arrow-right-double" color="#fff"></u-icon>
|
||||
</view>
|
||||
@ -84,7 +84,6 @@
|
||||
<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>
|
||||
|
||||
@ -99,9 +98,7 @@ export default {
|
||||
fileList: [],
|
||||
fileList2: [],
|
||||
video: '',
|
||||
isChecked: false,
|
||||
isFddSuccess:false,
|
||||
// show:false
|
||||
isChecked: false
|
||||
};
|
||||
},
|
||||
async onLoad(options) {
|
||||
@ -125,9 +122,6 @@ export default {
|
||||
// this.isFdd = uni.getStorageSync("isFdd") || false
|
||||
uni.removeStorageSync("info")
|
||||
},
|
||||
onShow() {
|
||||
this.checkFdd()
|
||||
},
|
||||
methods: {
|
||||
changeName(value) {
|
||||
this.name = value;
|
||||
@ -295,7 +289,6 @@ 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