|
@@ -2,11 +2,13 @@
|
|
|
<div class="activepay">
|
|
|
|
|
|
<div class="coupon-section">
|
|
|
- <img v-if="activePrice == 777" src="../assets/coupon.png" alt="">
|
|
|
+ <img v-if="activePrice == 777 || priceList.activePrice" src="../assets/coupon.png" alt="">
|
|
|
<img v-else src="../assets/coupon2.png" alt="">
|
|
|
</div>
|
|
|
-
|
|
|
- <p class="tip">活动详情:缴费{{ showPrice }}元立刻享有 {{ activePrice }} 元现金券,仅限购买20次vip课,总价值{{ markAmount }}元;即日起至2019年11月11日 ,名额仅限77名,先到先得。</p>
|
|
|
+ <p class="tip">活动详情:充值{{ showPrice }}元抵扣{{ activePrice }}元。20节课原价{{markAmount}}元,抵扣后立减{{ activePrice - showPrice }}元~仅需{{ amount }}元!
|
|
|
+ <br/>重点:课程不设有效期,最多可购买两期课程;
|
|
|
+ 名额有限,仅限77席,先到先得,错过一次等一年!</p>
|
|
|
+ <!-- <p class="tip">活动详情:缴费{{ showPrice }}元立刻享有 {{ activePrice }} 元现金券,仅限购买20次vip课,总价值{{ markAmount }}元;即日起至2019年11月11日 ,名额仅限77名,先到先得。</p> -->
|
|
|
|
|
|
<div style="padding: 0 .25rem">
|
|
|
<div class="btn-group">
|
|
@@ -44,10 +46,10 @@ export default {
|
|
|
this.priceList = item
|
|
|
if(item.branchPrice == 180) {
|
|
|
this.activePrice = 777
|
|
|
- this.showPrice = 11.11
|
|
|
+ this.showPrice = item.activePrice ? item.activePrice : 11.11
|
|
|
}else if(item.branchPrice == 220 || item.branchPrice == 280) {
|
|
|
this.activePrice = 1111
|
|
|
- this.showPrice = 111
|
|
|
+ this.showPrice = item.activePrice ? item.activePrice : 111
|
|
|
}
|
|
|
|
|
|
this.markAmount = 20 * item.branchPrice
|