This commit is contained in:
Gao xiaosong
2020-07-14 00:07:15 +08:00
parent e8240a54a7
commit e4535bf89f
15 changed files with 96 additions and 58 deletions

View File

@ -24,13 +24,13 @@
>
<view class="pic-number-pic">
<text>
{{ item.price }}
{{ item.value.price }}
<text class="pic-number"></text>
</text>
</view>
<view class="pic-number">赠送{{ item.give_price }} </view>
<view class="pic-number" v-if="item.value.give_price > 0">赠送{{ item.value.give_price }} </view>
</view>
<view
<!-- <view
class="pic-box pic-box-color acea-row row-center-wrapper"
@click="picCharge(picList.length, money)"
>
@ -40,7 +40,7 @@
v-model="money"
class="pic-box-money pic-number-pic"
/>
</view>
</view> -->
</view>
<view class="tip">提示充值后帐户的金额不能提现</view>
<view class="pay-btn bg-color-red" @click="recharge">立即充值</view>
@ -84,8 +84,8 @@ export default {
.then(res => {
this.picList = res.data.recharge_price_ways || [];
if (this.picList[0]) {
this.paid_price = this.picList[0].price;
this.numberPic = this.picList[0].give_price;
this.paid_price = this.picList[0].value.price;
this.numberPic = this.picList[0].value.give_price;
}
})
.catch(res => {
@ -107,8 +107,8 @@ export default {
this.numberPic = "";
} else {
this.money = "";
this.paid_price = item.give_price;
this.numberPic = item.price;
this.paid_price = item.value.give_price;
this.numberPic = item.value.price;
}
},
recharge: function() {