一版上线后修改
This commit is contained in:
@@ -73,9 +73,16 @@
|
||||
<!-- <view class="nav_list" @click="onGoing()">
|
||||
<text>帮助与反馈</text>
|
||||
</view> -->
|
||||
<view class="nav_list" @click="onPageJump('../peanut/aboutUs')">
|
||||
<text>关于我们</text>
|
||||
</view>
|
||||
<view class="nav_list" @click="signShow=true">
|
||||
<text>退出登录</text>
|
||||
</view>
|
||||
<view class="nav_list" @click="logout">
|
||||
<text>注销帐号</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<u-modal :show="signShow" :content="signContent" :showCancelButton="true" @cancel="signShow=false"
|
||||
@@ -131,7 +138,31 @@
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
// 注销账户
|
||||
logout(){
|
||||
let that = this
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
content: '确定要注销当前账户吗?',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
uni.showModal({
|
||||
title: '提示',
|
||||
showCancel:false,
|
||||
content: `注销申请已提交成功,请联系客服进行后续操作:022-24142321`,
|
||||
success: function (res1) {
|
||||
if (res1.confirm) {
|
||||
that.signOut()
|
||||
}
|
||||
}
|
||||
});
|
||||
} else if (res.cancel) {
|
||||
// 取消操作
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
// 跳转
|
||||
onGoing() {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user