|
@@ -1,15 +1,275 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
- 购买会员
|
|
|
+ <div class="container">
|
|
|
+ <div class="title">购买会员</div>
|
|
|
+ <!-- 会员套餐 -->
|
|
|
+ <div class="section">
|
|
|
+ <div class="subtitle">会员套餐<span class="tip">(基础服务功能)</span></div>
|
|
|
+ <div class="list">
|
|
|
+ <card>
|
|
|
+ <div class="vip-package">
|
|
|
+ <div class="time">1年</div>
|
|
|
+ <div>
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="price">5980</span>
|
|
|
+ <span class="deleted">¥7980</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </card>
|
|
|
+ <card>
|
|
|
+ <div class="vip-package">
|
|
|
+ <div class="time">1年</div>
|
|
|
+ <div>
|
|
|
+ <span>¥</span>
|
|
|
+ <span class="price">5980</span>
|
|
|
+ <span class="deleted">¥7980</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </card>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-divider class="divider" />
|
|
|
+ <!-- 定制服务 -->
|
|
|
+ <div class="section">
|
|
|
+ <div class="subtitle">订制服务<span class="tip">(勾选且付费后,将会有专人与您进行沟通)</span></div>
|
|
|
+ <div class="list">
|
|
|
+ <card>
|
|
|
+ <div class="service-package">
|
|
|
+ <div class="name">认证授权图片模板</div>
|
|
|
+ <div class="subname">定制要求与费用另议</div>
|
|
|
+ </div>
|
|
|
+ </card>
|
|
|
+ <card>
|
|
|
+ <div class="service-package">
|
|
|
+ <div class="name">认证授权物料制作</div>
|
|
|
+ <div class="subname">定制要求与费用另议</div>
|
|
|
+ </div>
|
|
|
+ </card>
|
|
|
+ <card>
|
|
|
+ <div class="service-package">
|
|
|
+ <div class="name">品牌资料库</div>
|
|
|
+ <div class="subname">定制要求与费用另议</div>
|
|
|
+ </div>
|
|
|
+ </card>
|
|
|
+ <card>
|
|
|
+ <div class="service-package">
|
|
|
+ <div class="name">其他</div>
|
|
|
+ <div class="subname">定制要求与费用另议</div>
|
|
|
+ </div>
|
|
|
+ </card>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-divider class="divider" />
|
|
|
+ <!-- 选择支付方式 -->
|
|
|
+ <div class="section">
|
|
|
+ <div class="subtitle">选择支付方式</div>
|
|
|
+ <div class="list">
|
|
|
+ <card v-for="item in payWayList" :key="item.id">
|
|
|
+ <el-image :src="item.image" class="pay-way" />
|
|
|
+ </card>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 支付 -->
|
|
|
+ <div class="pay-action">
|
|
|
+ <!-- 阿里云支付 -->
|
|
|
+ <div class="pay-code">
|
|
|
+ <div class="paymount">扫码付款:<span class="exp">¥</span><span class="price">5980.00</span></div>
|
|
|
+ <el-image src="https://picsum.photos/200/200" class="qrcode" />
|
|
|
+ <div class="pay-tip">
|
|
|
+ <i class="icon-alipay" />
|
|
|
+ <span>使用支付宝扫码</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 微信支付 -->
|
|
|
+ <!-- 企业网银支付 -->
|
|
|
+ <!-- 个人网银支付 -->
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-export default {
|
|
|
+import imgPayAli from '@/assets/pay/pay-ali.png'
|
|
|
+import imgBank from '@/assets/pay/pay-bank.png'
|
|
|
+import imgSelfBank from '@/assets/pay/pay-self-bank.png'
|
|
|
+import imgWechat from '@/assets/pay/pay-wechat.png'
|
|
|
|
|
|
+import Card from '@/components/Card'
|
|
|
+export default {
|
|
|
+ components: {
|
|
|
+ Card
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ payWayList: [
|
|
|
+ {
|
|
|
+ image: imgPayAli,
|
|
|
+ name: '阿里云支付',
|
|
|
+ id: 0
|
|
|
+ },
|
|
|
+ {
|
|
|
+ image: imgWechat,
|
|
|
+ name: '微信支付',
|
|
|
+ id: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ image: imgBank,
|
|
|
+ name: '企业网银支付',
|
|
|
+ id: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ image: imgSelfBank,
|
|
|
+ name: '个人网银支付',
|
|
|
+ id: 3
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style scoped>
|
|
|
+<style scoped lang="scss">
|
|
|
+.container {
|
|
|
+ margin: 0 auto;
|
|
|
+ padding: 0 60px;
|
|
|
+}
|
|
|
+.divider {
|
|
|
+ margin: 40px 0;
|
|
|
+}
|
|
|
+
|
|
|
+.pay-action {
|
|
|
+ margin: 40px 0;
|
|
|
+ .pay-code {
|
|
|
+
|
|
|
+ .paymount{
|
|
|
+ margin-bottom: 16px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #101010;
|
|
|
+
|
|
|
+ .exp,.price{
|
|
|
+ color: #FF6D6D;
|
|
|
+ }
|
|
|
+
|
|
|
+ .exp{
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .price{
|
|
|
+ font-size: 20px;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .qrcode {
|
|
|
+ width: 180px;
|
|
|
+ height: 180px;
|
|
|
+ border: 1px solid #1890ff;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 8px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .pay-tip {
|
|
|
+ width: 180px;
|
|
|
+ margin-top: 12px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #101010;
|
|
|
+ line-height: 25px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .icon-alipay,.icon-wechat{
|
|
|
+ display: inline-block;
|
|
|
+ width: 25px;
|
|
|
+ height: 25px;
|
|
|
+ vertical-align: middle;
|
|
|
+ margin-right: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .icon-wechat{
|
|
|
+ background: url(~@/assets/pay/icon-wechat.png) no-repeat center;
|
|
|
+ background-size: 25px;
|
|
|
+ }
|
|
|
|
|
|
+ .icon-alipay{
|
|
|
+ background: url(~@/assets/pay/icon-alipay.png) no-repeat center;
|
|
|
+ background-size: 25px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.title {
|
|
|
+ margin: 40px 0;
|
|
|
+ font-size: 24px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #404040;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
+
|
|
|
+.section {
|
|
|
+ .subtitle {
|
|
|
+ margin-bottom: 24px;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #101010;
|
|
|
+ .tip {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #909399;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .list {
|
|
|
+ .pay-way {
|
|
|
+ display: block;
|
|
|
+ width: 128px;
|
|
|
+ height: 44px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .service-package {
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ width: 232px;
|
|
|
+ height: 128px;
|
|
|
+
|
|
|
+ .name {
|
|
|
+ margin-bottom: 16px;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #404040;
|
|
|
+ }
|
|
|
+ .subname {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #ff6d6d;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .vip-package {
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ flex-direction: column;
|
|
|
+
|
|
|
+ width: 232px;
|
|
|
+ height: 128px;
|
|
|
+
|
|
|
+ .time {
|
|
|
+ margin-bottom: 16px;
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #404040;
|
|
|
+ }
|
|
|
+
|
|
|
+ .price {
|
|
|
+ font-size: 36px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ff6d6d;
|
|
|
+ }
|
|
|
+ .deleted {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #b2b2b2;
|
|
|
+ text-decoration: line-through;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|