金币解锁修改
This commit is contained in:
@@ -936,8 +936,6 @@
|
||||
this.payMoney = res.data.orders.payMoney //记录订单价格
|
||||
|
||||
if (type == 1) { //金币
|
||||
this.showPay = false
|
||||
this.showMoney = false
|
||||
this.payOrder(res.data.orders.ordersId, res.data.orders.payMoney)
|
||||
} else if(type == 2){ //支付宝
|
||||
this.closePay() //关闭购买选择弹窗
|
||||
@@ -978,9 +976,12 @@
|
||||
}, 1000)
|
||||
|
||||
} else { //支付失败(余额不足)
|
||||
that.closePay() //关闭购买选择弹窗
|
||||
this.payPrice = payMoney //需要支付的价格
|
||||
this.openPopusPay() //显示充值弹窗
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
icon: 'none'
|
||||
})
|
||||
that.showPay = true
|
||||
that.showMoney = false
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user