一版上线后修改
This commit is contained in:
@@ -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'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user