|
@@ -1,84 +1,87 @@
|
|
|
<template>
|
|
|
- <Layout class="vip-subscribe-buy" contentWithState="full" :needAd="false">
|
|
|
- <div class="vip-subscribe-title">{{ buyTypeText }}超级订阅</div>
|
|
|
- <div class="vip-subscribe-content">
|
|
|
- <div class="vip-sub-list">
|
|
|
- <AreaSelector
|
|
|
- ref="areaSelector"
|
|
|
- class="vip-sub-list-item"
|
|
|
- :class="{ 'pd-b0': upgradeTipShow }"
|
|
|
- :showSearchInput="false"
|
|
|
- :onlyProvince="true"
|
|
|
- :showSelectResult="true"
|
|
|
- selectorType="line"
|
|
|
- @onChange="onAreaChange">
|
|
|
- <div slot="header" class="vip-sub-item-title">购买区域</div>
|
|
|
- </AreaSelector>
|
|
|
- <SelectorCard
|
|
|
- class="vip-sub-tip"
|
|
|
- :cardType="conf.selectorType">
|
|
|
- <div slot="header" class="vip-sub-item-title"></div>
|
|
|
- <div class="tip-content font-red" v-show="upgradeTipShow">
|
|
|
- 请增加购买区域进行升级,当前选择省份数量未高于原套餐数,无法升级
|
|
|
- </div>
|
|
|
- </SelectorCard>
|
|
|
- <SelectorCard
|
|
|
- class="vip-sub-list-item"
|
|
|
- v-if="moduleShow.specList"
|
|
|
- :cardType="conf.selectorType">
|
|
|
- <div slot="header" class="vip-sub-item-title">选择购买周期</div>
|
|
|
- <div class="vip-sub-item-content">
|
|
|
- <SpecList :list="specList" v-model="specIdActive" @change="specChange" />
|
|
|
- </div>
|
|
|
- </SelectorCard>
|
|
|
- <SelectorCard
|
|
|
- class="vip-sub-list-item"
|
|
|
- v-show="moduleShow.coupon"
|
|
|
- :cardType="conf.selectorType">
|
|
|
- <div slot="header" class="vip-sub-item-title">选择优惠券</div>
|
|
|
- <div class="vip-sub-item-content">
|
|
|
- <CouponCardList
|
|
|
- ref="couponRef"
|
|
|
- :productionId="specActiveItem.productionId"
|
|
|
- :price="computedPrice.total"
|
|
|
- @loaded="couponCardLoaded"
|
|
|
- @change="couponCardChange" />
|
|
|
- </div>
|
|
|
- </SelectorCard>
|
|
|
- <SelectorCard
|
|
|
- class="vip-sub-list-item"
|
|
|
- v-show="moduleShow.gift"
|
|
|
- :cardType="conf.selectorType">
|
|
|
- <div slot="header" class="vip-sub-item-title">赠品</div>
|
|
|
- <div class="vip-sub-item-content">
|
|
|
- <CouponGiftList
|
|
|
- :productionId="specActiveItem.productionId"
|
|
|
- @loaded="giftListLoaded" />
|
|
|
- </div>
|
|
|
- </SelectorCard>
|
|
|
- <SelectorCard
|
|
|
- class="vip-sub-list-item"
|
|
|
- :cardType="conf.selectorType">
|
|
|
- <div slot="header" class="vip-sub-item-title">手机号码</div>
|
|
|
- <div class="vip-sub-item-content">
|
|
|
- <CheckPhone v-model="userInfo.phone" :pass.sync="phoneRegPass" />
|
|
|
- </div>
|
|
|
- </SelectorCard>
|
|
|
+ <div>
|
|
|
+ <LimitedBanner></LimitedBanner>
|
|
|
+ <Layout class="vip-subscribe-buy" contentWithState="full" :needAd="false">
|
|
|
+ <div class="vip-subscribe-title">{{ buyTypeText }}超级订阅</div>
|
|
|
+ <div class="vip-subscribe-content">
|
|
|
+ <div class="vip-sub-list">
|
|
|
+ <AreaSelector
|
|
|
+ ref="areaSelector"
|
|
|
+ class="vip-sub-list-item"
|
|
|
+ :class="{ 'pd-b0': upgradeTipShow }"
|
|
|
+ :showSearchInput="false"
|
|
|
+ :onlyProvince="true"
|
|
|
+ :showSelectResult="true"
|
|
|
+ selectorType="line"
|
|
|
+ @onChange="onAreaChange">
|
|
|
+ <div slot="header" class="vip-sub-item-title">购买区域</div>
|
|
|
+ </AreaSelector>
|
|
|
+ <SelectorCard
|
|
|
+ class="vip-sub-tip"
|
|
|
+ :cardType="conf.selectorType">
|
|
|
+ <div slot="header" class="vip-sub-item-title"></div>
|
|
|
+ <div class="tip-content font-red" v-show="upgradeTipShow">
|
|
|
+ 请增加购买区域进行升级,当前选择省份数量未高于原套餐数,无法升级
|
|
|
+ </div>
|
|
|
+ </SelectorCard>
|
|
|
+ <SelectorCard
|
|
|
+ class="vip-sub-list-item"
|
|
|
+ v-if="moduleShow.specList"
|
|
|
+ :cardType="conf.selectorType">
|
|
|
+ <div slot="header" class="vip-sub-item-title">选择购买周期</div>
|
|
|
+ <div class="vip-sub-item-content">
|
|
|
+ <SpecList :list="specList" v-model="specIdActive" @change="specChange" />
|
|
|
+ </div>
|
|
|
+ </SelectorCard>
|
|
|
+ <SelectorCard
|
|
|
+ class="vip-sub-list-item"
|
|
|
+ v-show="moduleShow.coupon"
|
|
|
+ :cardType="conf.selectorType">
|
|
|
+ <div slot="header" class="vip-sub-item-title">选择优惠券</div>
|
|
|
+ <div class="vip-sub-item-content">
|
|
|
+ <CouponCardList
|
|
|
+ ref="couponRef"
|
|
|
+ :productionId="specActiveItem.productionId"
|
|
|
+ :price="computedPrice.total"
|
|
|
+ @loaded="couponCardLoaded"
|
|
|
+ @change="couponCardChange" />
|
|
|
+ </div>
|
|
|
+ </SelectorCard>
|
|
|
+ <SelectorCard
|
|
|
+ class="vip-sub-list-item"
|
|
|
+ v-show="moduleShow.gift"
|
|
|
+ :cardType="conf.selectorType">
|
|
|
+ <div slot="header" class="vip-sub-item-title">赠品</div>
|
|
|
+ <div class="vip-sub-item-content">
|
|
|
+ <CouponGiftList
|
|
|
+ :productionId="specActiveItem.productionId"
|
|
|
+ @loaded="giftListLoaded" />
|
|
|
+ </div>
|
|
|
+ </SelectorCard>
|
|
|
+ <SelectorCard
|
|
|
+ class="vip-sub-list-item"
|
|
|
+ :cardType="conf.selectorType">
|
|
|
+ <div slot="header" class="vip-sub-item-title">手机号码</div>
|
|
|
+ <div class="vip-sub-item-content">
|
|
|
+ <CheckPhone v-model="userInfo.phone" :pass.sync="phoneRegPass" />
|
|
|
+ </div>
|
|
|
+ </SelectorCard>
|
|
|
+ </div>
|
|
|
+ <BuySubmit
|
|
|
+ :pass="allPass"
|
|
|
+ :productionTotal="computedPrice.total / 100"
|
|
|
+ :productionDiscount="computedPrice.discount / 100"
|
|
|
+ :productionPay="computedPrice.pay / 100"
|
|
|
+ @submit="submit"
|
|
|
+ ></BuySubmit>
|
|
|
</div>
|
|
|
- <BuySubmit
|
|
|
- :pass="allPass"
|
|
|
- :productionTotal="computedPrice.total / 100"
|
|
|
- :productionDiscount="computedPrice.discount / 100"
|
|
|
- :productionPay="computedPrice.pay / 100"
|
|
|
- @submit="submit"
|
|
|
- ></BuySubmit>
|
|
|
- </div>
|
|
|
- <div class="vip-subscribe-desc">
|
|
|
- <Contrast></Contrast>
|
|
|
- </div>
|
|
|
- <!-- <div style="height: 800px;background: green"></div>
|
|
|
- <div class="j-bottom" style="height: 300px;background: red"></div> -->
|
|
|
- </Layout>
|
|
|
+ <div class="vip-subscribe-desc">
|
|
|
+ <Contrast></Contrast>
|
|
|
+ </div>
|
|
|
+ <!-- <div style="height: 800px;background: green"></div>
|
|
|
+ <div class="j-bottom" style="height: 300px;background: red"></div> -->
|
|
|
+ </Layout>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -91,6 +94,7 @@ import CouponGiftList from '@/components/coupon/CouponGiftList.vue'
|
|
|
import CheckPhone from '@/components/coupon/CheckPhone.vue'
|
|
|
import BuySubmit from '@/components/coupon/BuySubmit.vue'
|
|
|
import Contrast from '@/views/vipsubscribe/components/Contrast.vue'
|
|
|
+import LimitedBanner from '@/components/limited-banner/index.vue'
|
|
|
import { Dialog } from 'element-ui'
|
|
|
|
|
|
import {
|
|
@@ -114,7 +118,8 @@ export default {
|
|
|
CheckPhone,
|
|
|
BuySubmit,
|
|
|
Contrast,
|
|
|
- [Dialog.name]: Dialog
|
|
|
+ [Dialog.name]: Dialog,
|
|
|
+ LimitedBanner
|
|
|
},
|
|
|
data () {
|
|
|
return {
|