|
@@ -1,11 +1,20 @@
|
|
|
<template>
|
|
|
- <div class="activepay">
|
|
|
+ <div class="activepay" :class="[priceList.branchId == 1012 ? 'sh' : '']">
|
|
|
|
|
|
- <div class="coupon-section">
|
|
|
+ <div class="coupon-section" v-if="priceList.branchId == 1012" key='branchId'>
|
|
|
+ <img src="../assets/couponsh.png" alt="">
|
|
|
+ </div>
|
|
|
+ <div class="coupon-section" v-else key='branchId'>
|
|
|
<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节课原价{{markAmount}}元,抵扣后立减{{ activePrice - showPrice }}元~仅需{{ amount }}元!
|
|
|
+ <p class="tip" v-if="priceList.branchId == 1012">
|
|
|
+ 活动规则: <br/>
|
|
|
+ 1.使用人群:仅限续费学员使用<br/>
|
|
|
+ 2.20节课/期,老学员最多可购买2期<br/>
|
|
|
+ 3.截止日期2019年11月11日24点前<br/>
|
|
|
+ </p>
|
|
|
+ <p class="tip" v-else>活动详情:充值{{ showPrice }}元抵扣{{ activePrice }}元。20节课原价{{markAmount}}元,抵扣后立减{{ activePrice - showPrice }}元~仅需{{ amount }}元!
|
|
|
<br/>重点:课程不设有效期,最多可购买两期课程;
|
|
|
名额有限,仅限77席,先到先得,错过一次等一年!</p>
|
|
|
<!-- <p class="tip">活动详情:缴费{{ showPrice }}元立刻享有 {{ activePrice }} 元现金券,仅限购买20次vip课,总价值{{ markAmount }}元;即日起至2019年11月11日 ,名额仅限77名,先到先得。</p> -->
|
|
@@ -53,7 +62,11 @@ export default {
|
|
|
}
|
|
|
|
|
|
this.markAmount = 20 * item.branchPrice
|
|
|
- this.amount = this.markAmount - this.activePrice + parseFloat(this.showPrice)
|
|
|
+ if(item.branchId == 1012) {
|
|
|
+ this.amount = this.markAmount - 500 + 11.11
|
|
|
+ } else {
|
|
|
+ this.amount = this.markAmount - this.activePrice + parseFloat(this.showPrice)
|
|
|
+ }
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -106,6 +119,10 @@ export default {
|
|
|
background: url('../assets/bg2.png') no-repeat center;
|
|
|
background-size: cover;
|
|
|
overflow: hidden;
|
|
|
+ &.sh {
|
|
|
+ background: url('../assets/shbg.png') no-repeat center;
|
|
|
+ background-size: cover;
|
|
|
+ }
|
|
|
}
|
|
|
.coupon-section {
|
|
|
margin-top: 2.8rem;
|