|
@@ -22,7 +22,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="recharge-option-content flex_1">
|
|
<view class="recharge-option-content flex_1">
|
|
<view><text class="gift-text">充值{{ opt.rechargeAmount }}元送{{ opt.giveAmount }}元抵扣</text></view>
|
|
<view><text class="gift-text">充值{{ opt.rechargeAmount }}元送{{ opt.giveAmount }}元抵扣</text></view>
|
|
- <view class="gift-remark">{{opt.remarks}}</view>
|
|
|
|
|
|
+ <view class="gift-remark">{{opt.remarks||''}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="recharge-btn flex align_center justify_center" @tap="handleRecharge(opt)">
|
|
<view class="recharge-btn flex align_center justify_center" @tap="handleRecharge(opt)">
|
|
<text>去充值</text>
|
|
<text>去充值</text>
|
|
@@ -131,12 +131,12 @@ export default {
|
|
}).then(ret=>{
|
|
}).then(ret=>{
|
|
if(ret.status == 200){
|
|
if(ret.status == 200){
|
|
this.showPopu = true
|
|
this.showPopu = true
|
|
- this.payData = res.data?res.data.payRequestRest:null
|
|
|
|
|
|
+ this.payData = ret.data?ret.data.payRequestRest:null
|
|
}
|
|
}
|
|
setTimeout(()=>{
|
|
setTimeout(()=>{
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
},300)
|
|
},300)
|
|
- uni.showToast(res.message)
|
|
|
|
|
|
+ uni.showToast(ret.message)
|
|
})
|
|
})
|
|
}else{
|
|
}else{
|
|
setTimeout(()=>{
|
|
setTimeout(()=>{
|