一版上线后修改

This commit is contained in:
@fawn-nine
2023-06-26 17:46:54 +08:00
parent 1e145aa4b0
commit e7d9d12556
10 changed files with 136 additions and 26 deletions

View File

@@ -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({