fix
This commit is contained in:
parent
155c75d08f
commit
11a6a206a7
@ -29,7 +29,13 @@
|
|||||||
:disabled="isAnimate"
|
:disabled="isAnimate"
|
||||||
></u-button>
|
></u-button>
|
||||||
<view style="margin-top: 20rpx;">
|
<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>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -52,7 +52,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="content4">
|
<div class="content4">
|
||||||
<div class="wrap1" @click="logout">注销账号</div>
|
<div class="wrap1" @click="logout">注销账号</div>
|
||||||
<div class="wrap2" @click="quit">退出登录</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</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",
|
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(){
|
async logout(){
|
||||||
let res = await this.$api.mine.logout();
|
let res = await this.$api.mine.logout();
|
||||||
if (res.status === 0) {
|
if (res.status === 0) {
|
||||||
this.$common.msgToast('注销成功');
|
this.$common.msgToast('注销成功');
|
||||||
this.quit();
|
uni.clearStorageSync();
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/login/login'
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$common.msgToast(res.msg);
|
this.$common.msgToast(res.msg);
|
||||||
}
|
}
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="face">
|
<view class="face">
|
||||||
<view class="faceTitle">法大大认证</view>
|
<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>
|
<view style="color: #fff;margin-right:10rpx">前往认证</view>
|
||||||
<u-icon name="arrow-right-double" color="#fff"></u-icon>
|
<u-icon name="arrow-right-double" color="#fff"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
@ -84,6 +84,7 @@
|
|||||||
<u-button text="完成注册" shape="circle" @click="completeRegistration" color="#76C458"></u-button>
|
<u-button text="完成注册" shape="circle" @click="completeRegistration" color="#76C458"></u-button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<!-- <u-loading-page bg-color="rgba(0, 0, 0, 0.8)" loading-text="数据正在加载中" :loading="show"></u-loading-page> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -98,7 +99,9 @@ export default {
|
|||||||
fileList: [],
|
fileList: [],
|
||||||
fileList2: [],
|
fileList2: [],
|
||||||
video: '',
|
video: '',
|
||||||
isChecked: false
|
isChecked: false,
|
||||||
|
isFddSuccess:false,
|
||||||
|
// show:false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
async onLoad(options) {
|
async onLoad(options) {
|
||||||
@ -122,6 +125,9 @@ export default {
|
|||||||
// this.isFdd = uni.getStorageSync("isFdd") || false
|
// this.isFdd = uni.getStorageSync("isFdd") || false
|
||||||
uni.removeStorageSync("info")
|
uni.removeStorageSync("info")
|
||||||
},
|
},
|
||||||
|
onShow() {
|
||||||
|
this.checkFdd()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
changeName(value) {
|
changeName(value) {
|
||||||
this.name = value;
|
this.name = value;
|
||||||
@ -289,6 +295,7 @@ export default {
|
|||||||
checkFdd() {
|
checkFdd() {
|
||||||
return this.$api.login.checkFdd().then((res) => {
|
return this.$api.login.checkFdd().then((res) => {
|
||||||
if (res.status === 0) {
|
if (res.status === 0) {
|
||||||
|
this.isFddSuccess = true
|
||||||
return res.data.isVerify
|
return res.data.isVerify
|
||||||
} else {
|
} else {
|
||||||
this.$common.msgToast(res.msg)
|
this.$common.msgToast(res.msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user