一版上线后修改

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

@@ -217,7 +217,7 @@
seckillList: [],
goodsList: [],
bgiStyle: {
background: '#2ab588'
background: '#fff'
},
iconStyle: {
fontSize: '40rpx',

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

View File

@@ -164,7 +164,7 @@
showXieyi(){
this.$http
.get(`sys/agreement/list?key=member`)
.then(res => {
.then(res => {
this.xieyi = res.page.list[0]
this.xieyiShow = true
})
@@ -185,11 +185,28 @@
if(this.radioValue == '1'){
if(this.stepsVc.money > this.userMes.peanutCoin){
uni.showToast({
title:'疯币不足,请充值',
icon: 'error',
duration: 2000
})
// uni.showToast({
// title:'疯币不足,请充值',
// icon: 'none',
// duration: 2000
// })
uni.showModal({
title: '提示',
content: '疯币不足',
confirmText:'去充值',
showCancel:'知道了',
success: function (res) {
let that = this
if (res.confirm) {
console.log('用户点击确定');
uni.navigateTo({
url: '../peanut/reCharge'
});
} else if (res.cancel) {
//console.log('用户点击取消');
}
}
});
return
}else{
this.kaiVip()
@@ -203,7 +220,7 @@
}
},
// 充值疯币
buPoint() {
buPoint() {
uni.navigateTo({
url: '../peanut/reCharge'
});