111
This commit is contained in:
@@ -90,9 +90,8 @@
|
||||
<text
|
||||
class="fdButtonBox aui-text-danger fdButtonBoxRed"
|
||||
style="float: right"
|
||||
@click="
|
||||
onPageJump('/pages/mine/wallet/recharge/index?source=order')
|
||||
"
|
||||
@click="onPageJump('/pages/mine/wallet/recharge/index?source=order')"
|
||||
|
||||
>立即充值</text
|
||||
>
|
||||
</view>
|
||||
@@ -407,6 +406,7 @@ export default {
|
||||
},
|
||||
onPageJump(url) {
|
||||
console.log(url, "url");
|
||||
|
||||
uni.navigateTo({
|
||||
url: url,
|
||||
});
|
||||
@@ -451,6 +451,7 @@ export default {
|
||||
console.log("res at line 374:", res);
|
||||
if (res.code == 0) {
|
||||
this.initData = res.data;
|
||||
// this.$emit('user')
|
||||
}
|
||||
|
||||
this.$forceUpdate();
|
||||
@@ -557,7 +558,13 @@ export default {
|
||||
// quantity: this.cartList[i].productAmount,
|
||||
// });
|
||||
// }
|
||||
|
||||
if(this.payType == 4 && this.initData.user.peanutCoin < this.dataInfo.lastFee){
|
||||
uni.showToast({
|
||||
title:'天医币余额不足',
|
||||
icon:'none'
|
||||
})
|
||||
return
|
||||
}
|
||||
let data = {
|
||||
paymentMethod: this.payType, //1微信2支付宝3苹果支付4虚拟币
|
||||
orderMoney: this.dataInfo.lastFee, //订单金额
|
||||
|
||||
Reference in New Issue
Block a user