|
|
|
@ -20,7 +20,7 @@ |
|
|
|
<view class="lf-m-t-28 text-black lf-font-24 lf-m-l-20"> |
|
|
|
需要支付 |
|
|
|
</view> |
|
|
|
<view class="lf-m-l-20 lf-m-t-16">¥<text class="lf-font-60 lf-font-bold">9.9</text></view> |
|
|
|
<view class="lf-m-l-20 lf-m-t-16">¥<text class="lf-font-60 lf-font-bold">{{prcie}}</text></view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -57,7 +57,7 @@ |
|
|
|
</view> |
|
|
|
<view class="padding-lr-lg"> |
|
|
|
<button class="cu-btn block bg-orange lg" style="border-radius: 42rpx;" @tap="subimitApply()"> |
|
|
|
<text class="lf-font-32 text-white">购买并支付¥9.9</text> |
|
|
|
<text class="lf-font-32 text-white">购买并支付¥{{prcie}}</text> |
|
|
|
</button> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -72,10 +72,16 @@ |
|
|
|
info: {}, |
|
|
|
ifPay: true, |
|
|
|
checkedpay: true, |
|
|
|
agreement: '' |
|
|
|
agreement: '', |
|
|
|
prcie: '' |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getPrice(){ |
|
|
|
this.$http(this.API.API_MEMBERPRICE).then(res => { |
|
|
|
this.prcie = res.data.price || 0 |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 勾选协议发生变化 |
|
|
|
checkboxChange(event){ |
|
|
|
this.checked = event.detail.value.length > 0; |
|
|
|
@ -153,6 +159,7 @@ |
|
|
|
onLoad() { |
|
|
|
this.getData() |
|
|
|
this.getAgree() |
|
|
|
this.getPrice() |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|