|
@@ -1,64 +1,74 @@
|
|
|
<template>
|
|
|
- <div class="step-1">
|
|
|
+ <div class="step-1 ptc-wrapper">
|
|
|
<div class="ptc-block">
|
|
|
- <p class="ptc-label">Choose a version</p>
|
|
|
- <PtcRadioGroup v-model="state.product" style="display: flex">
|
|
|
- <PtcRadio class="version" value="lite">
|
|
|
- <i class="icon-lite"></i>
|
|
|
- <span class="mt18">Lite</span>
|
|
|
- </PtcRadio>
|
|
|
- <PtcRadio class="version" value="pro">
|
|
|
- <i class="icon-pro"></i>
|
|
|
- <span class="mt18">Pro</span>
|
|
|
- </PtcRadio>
|
|
|
- </PtcRadioGroup>
|
|
|
- <div class="version-desc" :class="{ pro: state.product === 'pro' }">
|
|
|
- Introduction of member products,Introduction of member products
|
|
|
+ <div class="ptc-inner">
|
|
|
+ <p class="ptc-label">Choose a version</p>
|
|
|
+ <PtcRadioGroup v-model="state.product" style="display: flex">
|
|
|
+ <PtcRadio class="version" value="lite">
|
|
|
+ <i class="icon-lite"></i>
|
|
|
+ <span class="mt18">Lite</span>
|
|
|
+ </PtcRadio>
|
|
|
+ <PtcRadio class="version" value="pro">
|
|
|
+ <i class="icon-pro"></i>
|
|
|
+ <span class="mt18">Pro</span>
|
|
|
+ </PtcRadio>
|
|
|
+ </PtcRadioGroup>
|
|
|
+ <div class="version-desc" :class="{ pro: state.product === 'pro' }">
|
|
|
+ Introduction of member products,Introduction of member products
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="ptc-block">
|
|
|
- <p class="ptc-label">Choose a subscription method</p>
|
|
|
- <PtcRadioGroup v-model="state.type">
|
|
|
- <PtcRadio class="method" :value="1">
|
|
|
- <span class="cost">$99</span>
|
|
|
- <span class="name">Annual</span>
|
|
|
- <span class="ptc-tag">-25% OFF</span>
|
|
|
- </PtcRadio>
|
|
|
- <PtcRadio class="method" :value="2">
|
|
|
- <span class="cost">$12.5</span>
|
|
|
- <span class="name"> Monthly Activation fee $20</span>
|
|
|
- </PtcRadio>
|
|
|
- </PtcRadioGroup>
|
|
|
+ <div class="ptc-inner">
|
|
|
+ <p class="ptc-label">Choose a subscription method</p>
|
|
|
+ <PtcRadioGroup v-model="state.type">
|
|
|
+ <PtcRadio class="method" :value="1">
|
|
|
+ <span class="cost">$99</span>
|
|
|
+ <span class="name">Annual</span>
|
|
|
+ <span class="ptc-tag">-25% OFF</span>
|
|
|
+ </PtcRadio>
|
|
|
+ <PtcRadio class="method" :value="2">
|
|
|
+ <span class="cost">$12.5</span>
|
|
|
+ <span class="name"> Monthly Activation fee $20</span>
|
|
|
+ </PtcRadio>
|
|
|
+ </PtcRadioGroup>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="ptc-block">
|
|
|
- <p class="ptc-label">Do you have a discount code?</p>
|
|
|
- <div v-if="!showCoupon" class="input-wrap pr">
|
|
|
- <input
|
|
|
- v-model="state.couponCode"
|
|
|
- class="ptc-input"
|
|
|
- placeholder="Enter promotional code"
|
|
|
- />
|
|
|
- <button class="input-btn" @click="showCoupon = true">sbumit</button>
|
|
|
- </div>
|
|
|
- <div v-else class="coupon-wrap">
|
|
|
- <div class="coupon">
|
|
|
- <p class="p1">PTC CARE PLUS</p>
|
|
|
- <p class="p2">NEWCOMER DISCOUNT</p>
|
|
|
- <p class="p3">- $10</p>
|
|
|
+ <div class="ptc-inner">
|
|
|
+ <p class="ptc-label">Do you have a discount code?</p>
|
|
|
+ <div v-if="!showCoupon" class="input-wrap pr">
|
|
|
+ <input
|
|
|
+ v-model="state.couponCode"
|
|
|
+ class="ptc-input"
|
|
|
+ placeholder="Enter promotional code"
|
|
|
+ />
|
|
|
+ <button class="input-btn" @click="showCoupon = true">sbumit</button>
|
|
|
</div>
|
|
|
- <div class="action">
|
|
|
- <span class="code">87889122</span>
|
|
|
- <span class="primary" @click="showCoupon = false">Revise</span>
|
|
|
+ <div v-else class="coupon-wrap">
|
|
|
+ <div class="coupon">
|
|
|
+ <p class="p1">PTC CARE PLUS</p>
|
|
|
+ <p class="p2">NEWCOMER DISCOUNT</p>
|
|
|
+ <p class="p3">- $10</p>
|
|
|
+ </div>
|
|
|
+ <div class="action">
|
|
|
+ <span class="code">87889122</span>
|
|
|
+ <span class="primary" @click="showCoupon = false">Revise</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<div class="total">
|
|
|
- <p>total<strong>$99</strong></p>
|
|
|
- <p class="highlight">($10 discounted)</p>
|
|
|
+ <div class="ptc-inner">
|
|
|
+ <p>total<strong>$99</strong></p>
|
|
|
+ <p class="highlight">($10 discounted)</p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="ptc-button-group">
|
|
|
- <button class="ptc-button" @click="$emit('next')">NEXT</button>
|
|
|
+ <div class="ptc-inner">
|
|
|
+ <button class="ptc-button" @click="$emit('next')">NEXT</button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|