Browse Source

上海分部添加定制化

lex-xin 5 years ago
parent
commit
ffa64f2ebd

+ 0 - 1
dist/css/chunk-0c6b3abd.0f445948.css

@@ -1 +0,0 @@
-.activepay[data-v-668cbb96]{width:100vw;min-height:100vh;background:url(../img/bg2.a48bddf5.png) no-repeat 50%;background-size:cover;overflow:hidden}.coupon-section[data-v-668cbb96]{margin-top:2.8rem;padding:0 .35rem}.coupon-section img[data-v-668cbb96]{width:100%}.tip[data-v-668cbb96]{padding:.22rem .35rem;font-size:.13rem;color:#fff}.btn[data-v-668cbb96]{padding:.05rem 0 .08rem;border-radius:1rem;background:-webkit-gradient(linear,right top,left top,from(#f2d1a3),to(#bc824c));background:linear-gradient(270deg,#f2d1a3,#bc824c);border:0;color:#fff;font-size:.14rem;margin-bottom:.2rem;text-align:center}.btn del[data-v-668cbb96]{font-size:.12rem}input[data-v-668cbb96],textarea[data-v-668cbb96]{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;-o-user-select:auto!important;user-select:auto!important}

+ 1 - 0
dist/css/chunk-34fec0b8.d4f68052.css

@@ -0,0 +1 @@
+.activepay[data-v-1a3a3aef]{width:100vw;min-height:100vh;background:url(../img/bg2.a48bddf5.png) no-repeat 50%;background-size:cover;overflow:hidden}.activepay.sh[data-v-1a3a3aef]{background:url(../img/shbg.7ab53856.png) no-repeat 50%;background-size:cover}.coupon-section[data-v-1a3a3aef]{margin-top:2.8rem;padding:0 .35rem}.coupon-section img[data-v-1a3a3aef]{width:100%}.tip[data-v-1a3a3aef]{padding:.22rem .35rem;font-size:.13rem;color:#fff}.btn[data-v-1a3a3aef]{padding:.05rem 0 .08rem;border-radius:1rem;background:-webkit-gradient(linear,right top,left top,from(#f2d1a3),to(#bc824c));background:linear-gradient(270deg,#f2d1a3,#bc824c);border:0;color:#fff;font-size:.14rem;margin-bottom:.2rem;text-align:center}.btn del[data-v-1a3a3aef]{font-size:.12rem}input[data-v-1a3a3aef],textarea[data-v-1a3a3aef]{-webkit-user-select:auto!important;-moz-user-select:auto!important;-ms-user-select:auto!important;-o-user-select:auto!important;user-select:auto!important}

+ 0 - 0
dist/css/chunk-386f9467.a32d8ead.css → dist/css/chunk-bc74c73a.a32d8ead.css


BIN
dist/img/couponsh.68b06b55.png


BIN
dist/img/shbg.7ab53856.png


File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.2da4f94d.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/app.2da4f94d.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-0c6b3abd.02f99460.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-0c6b3abd.02f99460.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-34fec0b8.094f6d7a.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-34fec0b8.094f6d7a.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-bc74c73a.d34b5577.js


File diff suppressed because it is too large
+ 0 - 0
dist/js/chunk-bc74c73a.d34b5577.js.map


BIN
src/assets/couponsh.png


BIN
src/assets/shbg.png


+ 21 - 4
src/views/activePay.vue

@@ -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;

Some files were not shown because too many files changed in this diff