|
@@ -1,219 +1,219 @@
|
|
-<!DOCTYPE html>
|
|
|
|
-<html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
- xsi:schemaLocation="https://www.thymeleaf.org ">
|
|
|
|
-<head>
|
|
|
|
- <meta charset="UTF-8">
|
|
|
|
- <title>采美365网-会员中心</title>
|
|
|
|
- <template th:replace="components/head-link"></template>
|
|
|
|
- <link th:href="@{/css/base/center.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
|
|
- <link th:href="@{/css/user-center/member/member-page.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
|
|
-</head>
|
|
|
|
-<body>
|
|
|
|
-<!-- 引用头部 -->
|
|
|
|
-<template th:replace="components/header"></template>
|
|
|
|
-<!--内容区域-->
|
|
|
|
-<!-- 采美豆明细 -->
|
|
|
|
-<div id="memberPage" v-cloak :style="{ marginBottom: GLOBAL_VIP_FLAG === 1 ? '0' : ''}">
|
|
|
|
- <div class="navLayout">
|
|
|
|
- <div class="crumbs" v-if="isPC">
|
|
|
|
- <span>我的采美</span>
|
|
|
|
- <span>></span>
|
|
|
|
- <span>超级会员</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="wrap clear">
|
|
|
|
- <!--左侧导航-->
|
|
|
|
- <template th:replace="user-center/components/tableft"></template>
|
|
|
|
- <div class="right">
|
|
|
|
- <!--会员信息-->
|
|
|
|
- <div class="vip-bar">
|
|
|
|
- <div class="left-box" :class="isPC ? 'row1' : 'row2'" v-html="svipTips"></div>
|
|
|
|
- <div class="right-box">
|
|
|
|
- <template v-if="vipInfo.vipFlag !== 0">
|
|
|
|
- <a href="/user/member-record.html" class="link">购买记录</a>
|
|
|
|
- <a href="javascript:void(0)" @click="handleShowRenewPopup" class="btn" onclick="_czc.push(['_trackEvent','续费超级会员','超级会员','续费按钮','','Um_Event_RenewButton'])">续费</a>
|
|
|
|
- </template>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!--套餐价格 仅未开通和到期显示-->
|
|
|
|
- <div class="section" v-if="vipInfo.vipFlag !== 1" id="vipPackage">
|
|
|
|
- <div class="section-title">超级会员套餐</div>
|
|
|
|
- <div class="content combo-list">
|
|
|
|
- <template v-if="comboInfo.length > 0">
|
|
|
|
- <div>
|
|
|
|
- <template v-for="(item, index) in comboInfo">
|
|
|
|
- <div class="combo" :class="{active: index === currentIndex,recommend: index === 0}"
|
|
|
|
- :key="index" @click="chooseCombo(index)">
|
|
|
|
- <div class="how-mounts">{{ item.duration }}个月</div>
|
|
|
|
- <div class="price"><i>¥</i>{{ item.price }}</div>
|
|
|
|
- <div class="average">{{ item.price / item.duration }}元/月</div>
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- </div>
|
|
|
|
-<!-- <div><p class="copy-p">使用微信扫描二维码,联系采美客服进行购买</p></div>-->
|
|
|
|
-<!-- <div>-->
|
|
|
|
-<!-- <div class="wechat-image">-->
|
|
|
|
-<!-- <img src="/img/base/Wecha.png" alt="">-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
-<!-- </div>-->
|
|
|
|
- <div>
|
|
|
|
- <div class="pay-btn" onclick="_czc.push(['_trackEvent','开通超级会员','超级会员','支付1','','Um_Event_RegisterSuperPayOne'])">
|
|
|
|
- <a href="javascript:void(0);" @click="payAction(1, 1)">
|
|
|
|
- 立即支付{{ comboInfo[currentIndex].price }}元开通
|
|
|
|
- </a>
|
|
|
|
- </div>
|
|
|
|
- <div class="pay-btn plain" onclick="_czc.push(['_trackEvent','开通超级会员','超级会员','采美豆抵扣1','','Um_Event_RegisterSuperByBeansOne'])">
|
|
|
|
- <a href="javascript:void(0);" @click="payAction(2, 1)">
|
|
|
|
- 或抵扣{{ comboInfo[currentIndex].price * comboInfo[currentIndex].proportion }}个采美豆开通
|
|
|
|
- </a>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- <span v-else>暂无可选套餐~</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!--服务列表-->
|
|
|
|
- <div class="section">
|
|
|
|
- <div class="section-title">专属特权</div>
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="service-list">
|
|
|
|
- <div v-for="(item, index) in serviceList" :key="index">
|
|
|
|
- <img :src="item.pcIcon"
|
|
|
|
- v-if="isPC"/>
|
|
|
|
- <img :src="item.h5Icon"
|
|
|
|
- v-else/>
|
|
|
|
- <span class="tit" v-html="item.name"></span>
|
|
|
|
- <span class="sub-tit" v-html="item.subTitle"></span>
|
|
|
|
- <span class="sub-tit" v-html="item.subTitle1"></span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="service-list two">
|
|
|
|
- <div v-for="(item, index) in serviceList2" :key="index">
|
|
|
|
- <img :src="item.pcIcon"
|
|
|
|
- v-if="isPC"/>
|
|
|
|
- <img :src="item.h5Icon"
|
|
|
|
- v-else/>
|
|
|
|
- <span class="tit" v-html="item.name"></span>
|
|
|
|
- <span class="sub-tit" v-html="item.subTitle"></span>
|
|
|
|
- <span class="sub-tit" v-html="item.subTitle1"></span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!--优惠券列表-->
|
|
|
|
- <div class="section" v-if="couponList.length > 0">
|
|
|
|
- <div class="section-title">专属优惠券<span>每三个月可领</span></div>
|
|
|
|
- <div class="content coupon-list clear">
|
|
|
|
- <template v-if="couponList.length > 0">
|
|
|
|
- <div v-for="(item, index) in couponList" :key="index" :class="{'un-received':item.useStatus === 1}">
|
|
|
|
- <span class="type" v-html="item.typeText"></span>
|
|
|
|
- <div class="amount"><i>¥</i>{{ item.couponAmount }}</div>
|
|
|
|
- <div class="condition">满{{ item.touchPrice }}可用</div>
|
|
|
|
- <template>
|
|
|
|
- <div class="condition" v-if="item.couponType == 0">
|
|
|
|
- {{ item.productType && item.productType == 1 ? '全商城商品通用' : '仅可购买指定商品' }}
|
|
|
|
- </div>
|
|
|
|
- <div class="condition" v-if="item.couponType == 1">
|
|
|
|
- {{ item.categoryType == 1 ? '仅限购买产品类商品' : '仅限购买仪器类商品' }}
|
|
|
|
- </div>
|
|
|
|
- <div class="condition" v-if="item.couponType == 3">
|
|
|
|
- <abbr :title="'仅限购买店铺【' + item.shopName + '】的商品'">仅限购买店铺【...】的商品</abbr>
|
|
|
|
- </div>
|
|
|
|
- <div class="condition" v-if="item.couponType == 4 || item.couponType == 2">全商城商品通用</div>
|
|
|
|
- </template>
|
|
|
|
- <div class="receive-btn" v-if="!item.getFlag" @click="receiveCoupon(item.couponId)">立即领取</div>
|
|
|
|
- <div class="receive-btn" v-else-if="item.useStatus === 1" @click="toUseCoupon(item)">去使用</div>
|
|
|
|
- <div class="receive-btn" v-else="item.useStatus === 2">已使用</div>
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- <span v-else>暂无可领取优惠券~</span>
|
|
|
|
- </div>
|
|
|
|
-
|
|
|
|
- </div>
|
|
|
|
- <!--优惠商品-->
|
|
|
|
- <div class="section" v-if="productList.length > 0">
|
|
|
|
- <div class="section-title clear">专享价商品<a href="/user/member-product.html">查看更多></a></div>
|
|
|
|
- <div class="content goods-list">
|
|
|
|
- <div class="goods" v-for="(product, index) in productList" :key="index">
|
|
|
|
- <a :href="'/product-' + product.productId + '.html'">
|
|
|
|
- <img src="/img/base/placeholder.png" :data-original="product.image"/>
|
|
|
|
- <div class="goods-title cm-text-ellipsis-2" v-html="product.name"></div>
|
|
|
|
- <div class="goods-tag">
|
|
|
|
- <span class="tag styl1" v-if="product.couponsLogo">优惠券</span>
|
|
|
|
- <div class="svip-tag" v-if="product.svipProductFlag === 1">
|
|
|
|
- <div class="svip-icon ">SVIP</div>
|
|
|
|
- <!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
|
|
- <template v-if="showVipPriceTag(product)">
|
|
|
|
- <div class="svip-price">
|
|
|
|
- <span v-html="product.svipPriceTag"></span>
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="goods-price" v-html="makePrice(product)"></div>
|
|
|
|
- </a>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!--底部支付按钮 仅未开通和到期显示-->
|
|
|
|
- <div class="pay-amount-bottom" id="pay-amount-bottom" v-if="showBottomBtns">
|
|
|
|
- <div>
|
|
|
|
- <div class="pay-btn plain" onclick="_czc.push(['_trackEvent','开通超级会员','超级会员','采美豆抵扣2','','Um_Event_RegisterSuperByBeansTwo'])">
|
|
|
|
- <a href="javascript:void(0);" @click="payAction(2, 2)">
|
|
|
|
- 抵扣{{ comboInfo[currentIndex].price * comboInfo[currentIndex].proportion }}个采美豆开通
|
|
|
|
- </a>
|
|
|
|
- </div>
|
|
|
|
- <div class="pay-btn" onclick="_czc.push(['_trackEvent','开通超级会员','超级会员','支付2','','Um_Event_RegisterSuperPayTwo'])">
|
|
|
|
- <a href="javascript:void(0);" @click="payAction(1, 2)">
|
|
|
|
- 立即支付{{ comboInfo[currentIndex].price }}元开通
|
|
|
|
- </a>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <!--遮罩-->
|
|
|
|
- <div class="mask" v-if="showMask"></div>
|
|
|
|
- <!--续费弹窗-->
|
|
|
|
- <div class="renew-popup" v-if="showRenewPopup">
|
|
|
|
- <div class="popup-title">续费超级会员套餐<span class="close" @click="handleCloseRenewPopup">×</span></div>
|
|
|
|
- <div class="content combo-list">
|
|
|
|
- <template v-if="comboInfo.length > 0">
|
|
|
|
- <div>
|
|
|
|
- <template v-for="(item, index) in comboInfo">
|
|
|
|
- <div class="combo" :class="{active: index === currentIndex,recommend: index === 0}"
|
|
|
|
- :key="index" @click="chooseCombo(index)">
|
|
|
|
- <div class="how-mounts">{{ item.duration }}个月</div>
|
|
|
|
- <div class="price"><i>¥</i>{{ item.price }}</div>
|
|
|
|
- <div class="average">{{ item.price / item.duration }}元/月</div>
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- <div class="pay-btn" onclick="_czc.push(['_trackEvent','续费超级会员','超级会员','支付','','Um_Event_RenewSuperPay'])">
|
|
|
|
- <a href="javascript:void(0);" @click="payAction(1, 3)">
|
|
|
|
- 立即支付{{ comboInfo[currentIndex].price }}元开通
|
|
|
|
- </a>
|
|
|
|
- </div>
|
|
|
|
- <div class="pay-btn plain" onclick="_czc.push(['_trackEvent','续费超级会员','超级会员','采美豆抵扣','','Um_Event_RenewSuperPayByBeans'])">
|
|
|
|
- <a href="javascript:void(0);" @click="payAction(2, 3)">
|
|
|
|
- 或抵扣{{ comboInfo[currentIndex].price * comboInfo[currentIndex].proportion }}个采美豆开通
|
|
|
|
- </a>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </template>
|
|
|
|
- <span v-else>暂无可选套餐~</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-</div>
|
|
|
|
-
|
|
|
|
-<!-- 引入底部 -->
|
|
|
|
-<template th:replace="components/footer"></template>
|
|
|
|
-<template th:replace="components/foot-link"></template>
|
|
|
|
-<script charset="utf-8" type="text/javascript" src="/lib/datapicker/moment-2.29.min.js"></script>
|
|
|
|
-<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
|
|
|
|
-<script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
|
|
|
|
-<script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/product.service.js(v=${version})}"></script>
|
|
|
|
-<script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/member/memberPage.js(v=${version})}"></script>
|
|
|
|
-</body>
|
|
|
|
-</html>
|
|
|
|
|
|
+<!DOCTYPE html>
|
|
|
|
+<html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
+ xsi:schemaLocation="https://www.thymeleaf.org ">
|
|
|
|
+<head>
|
|
|
|
+ <meta charset="UTF-8">
|
|
|
|
+ <title>采美365网-会员中心</title>
|
|
|
|
+ <template th:replace="components/head-link"></template>
|
|
|
|
+ <link th:href="@{/css/base/center.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
|
|
+ <link th:href="@{/css/user-center/member/member-page.css(v=${version})}" rel="stylesheet" type="text/css">
|
|
|
|
+</head>
|
|
|
|
+<body>
|
|
|
|
+<!-- 引用头部 -->
|
|
|
|
+<template th:replace="components/header"></template>
|
|
|
|
+<!--内容区域-->
|
|
|
|
+<!-- 采美豆明细 -->
|
|
|
|
+<div id="memberPage" v-cloak :style="{ marginBottom: GLOBAL_VIP_FLAG === 1 ? '0' : ''}">
|
|
|
|
+ <div class="navLayout">
|
|
|
|
+ <div class="crumbs" v-if="isPC">
|
|
|
|
+ <span>我的采美</span>
|
|
|
|
+ <span>></span>
|
|
|
|
+ <span>超级会员</span>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="wrap clear">
|
|
|
|
+ <!--左侧导航-->
|
|
|
|
+ <template th:replace="user-center/components/tableft"></template>
|
|
|
|
+ <div class="right">
|
|
|
|
+ <!--会员信息-->
|
|
|
|
+ <div class="vip-bar">
|
|
|
|
+ <div class="left-box" :class="isPC ? 'row1' : 'row2'" v-html="svipTips"></div>
|
|
|
|
+ <div class="right-box">
|
|
|
|
+ <template v-if="vipInfo.vipFlag !== 0">
|
|
|
|
+ <a href="/user/member-record.html" class="link">购买记录</a>
|
|
|
|
+ <a href="javascript:void(0)" @click="handleShowRenewPopup" class="btn" onclick="_czc.push(['_trackEvent','续费超级会员','超级会员','续费按钮','','Um_Event_RenewButton'])">续费</a>
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!--套餐价格 仅未开通和到期显示-->
|
|
|
|
+ <div class="section" v-if="vipInfo.vipFlag !== 1" id="vipPackage">
|
|
|
|
+ <div class="section-title">超级会员套餐</div>
|
|
|
|
+ <div class="content combo-list">
|
|
|
|
+ <template v-if="comboInfo.length > 0">
|
|
|
|
+ <div>
|
|
|
|
+ <template v-for="(item, index) in comboInfo">
|
|
|
|
+ <div class="combo" :class="{active: index === currentIndex,recommend: index === 0}"
|
|
|
|
+ :key="index" @click="chooseCombo(index)">
|
|
|
|
+ <div class="how-mounts">{{ item.duration }}个月</div>
|
|
|
|
+ <div class="price"><i>¥</i>{{ item.price }}</div>
|
|
|
|
+ <div class="average">{{ item.price / item.duration }}元/月</div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
|
|
+<!-- <div><p class="copy-p">使用微信扫描二维码,联系采美客服进行购买</p></div>-->
|
|
|
|
+<!-- <div>-->
|
|
|
|
+<!-- <div class="wechat-image">-->
|
|
|
|
+<!-- <img src="/img/base/Wecha.png" alt="">-->
|
|
|
|
+<!-- </div>-->
|
|
|
|
+<!-- </div>-->
|
|
|
|
+ <div>
|
|
|
|
+ <div class="pay-btn" onclick="_czc.push(['_trackEvent','开通超级会员','超级会员','支付1','','Um_Event_RegisterSuperPayOne'])">
|
|
|
|
+ <a href="javascript:void(0);" @click="payAction(1, 1)">
|
|
|
|
+ 立即支付{{ comboInfo[currentIndex].price }}元开通
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pay-btn plain" onclick="_czc.push(['_trackEvent','开通超级会员','超级会员','采美豆抵扣1','','Um_Event_RegisterSuperByBeansOne'])">
|
|
|
|
+ <a href="javascript:void(0);" @click="payAction(2, 1)">
|
|
|
|
+ 或抵扣{{ comboInfo[currentIndex].price * comboInfo[currentIndex].proportion }}个采美豆开通
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <span v-else>暂无可选套餐~</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!--服务列表-->
|
|
|
|
+ <div class="section">
|
|
|
|
+ <div class="section-title">专属特权</div>
|
|
|
|
+ <div class="content">
|
|
|
|
+ <div class="service-list">
|
|
|
|
+ <div v-for="(item, index) in serviceList" :key="index">
|
|
|
|
+ <img :src="item.pcIcon"
|
|
|
|
+ v-if="isPC"/>
|
|
|
|
+ <img :src="item.h5Icon"
|
|
|
|
+ v-else/>
|
|
|
|
+ <span class="tit" v-html="item.name"></span>
|
|
|
|
+ <span class="sub-tit" v-html="item.subTitle"></span>
|
|
|
|
+ <span class="sub-tit" v-html="item.subTitle1"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="service-list two">
|
|
|
|
+ <div v-for="(item, index) in serviceList2" :key="index">
|
|
|
|
+ <img :src="item.pcIcon"
|
|
|
|
+ v-if="isPC"/>
|
|
|
|
+ <img :src="item.h5Icon"
|
|
|
|
+ v-else/>
|
|
|
|
+ <span class="tit" v-html="item.name"></span>
|
|
|
|
+ <span class="sub-tit" v-html="item.subTitle"></span>
|
|
|
|
+ <span class="sub-tit" v-html="item.subTitle1"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!--优惠券列表-->
|
|
|
|
+ <div class="section" v-if="couponList.length > 0">
|
|
|
|
+ <div class="section-title">专属优惠券<span>每三个月可领</span></div>
|
|
|
|
+ <div class="content coupon-list clear">
|
|
|
|
+ <template v-if="couponList.length > 0">
|
|
|
|
+ <div v-for="(item, index) in couponList" :key="index" :class="{'un-received':item.useStatus === 1}">
|
|
|
|
+ <span class="type" v-html="item.typeText"></span>
|
|
|
|
+ <div class="amount"><i>¥</i>{{ item.couponAmount }}</div>
|
|
|
|
+ <div class="condition">满{{ item.touchPrice }}可用</div>
|
|
|
|
+ <template>
|
|
|
|
+ <div class="condition" v-if="item.couponType == 0">
|
|
|
|
+ {{ item.productType && item.productType == 1 ? '全商城商品通用' : '仅可购买指定商品' }}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="condition" v-if="item.couponType == 1">
|
|
|
|
+ {{ item.categoryType == 1 ? '仅限购买产品类商品' : '仅限购买仪器类商品' }}
|
|
|
|
+ </div>
|
|
|
|
+ <div class="condition" v-if="item.couponType == 3">
|
|
|
|
+ <abbr :title="'仅限购买店铺【' + item.shopName + '】的商品'">仅限购买店铺【...】的商品</abbr>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="condition" v-if="item.couponType == 4 || item.couponType == 2">全商城商品通用</div>
|
|
|
|
+ </template>
|
|
|
|
+ <div class="receive-btn" v-if="!item.getFlag" @click="receiveCoupon(item.couponId)">立即领取</div>
|
|
|
|
+ <div class="receive-btn" v-else-if="item.useStatus === 1" @click="toUseCoupon(item)">去使用</div>
|
|
|
|
+ <div class="receive-btn" v-else="item.useStatus === 2">已使用</div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <span v-else>暂无可领取优惠券~</span>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+ </div>
|
|
|
|
+ <!--优惠商品-->
|
|
|
|
+ <div class="section" v-if="productList.length > 0">
|
|
|
|
+ <div class="section-title clear">专享价商品<a href="/user/member-product.html">查看更多></a></div>
|
|
|
|
+ <div class="content goods-list">
|
|
|
|
+ <div class="goods" v-for="(product, index) in productList" :key="index">
|
|
|
|
+ <a :href="'/product-' + product.productId + '.html'">
|
|
|
|
+ <img src="/img/base/placeholder.png" :data-original="product.image"/>
|
|
|
|
+ <div class="goods-title cm-text-ellipsis-2" v-html="product.name"></div>
|
|
|
|
+ <div class="goods-tag">
|
|
|
|
+ <span class="tag styl1" v-if="product.couponsLogo">优惠券</span>
|
|
|
|
+ <div class="svip-tag" v-if="product.svipProductFlag === 1">
|
|
|
|
+ <div class="svip-icon ">SVIP</div>
|
|
|
|
+ <!-- 公开价格 && (个人机构 || 资质机构) && 开通SVIP 可查看价格-->
|
|
|
|
+ <template v-if="showVipPriceTag(product)">
|
|
|
|
+ <div class="svip-price">
|
|
|
|
+ <span v-html="product.svipPriceTag"></span>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="goods-price" v-html="makePrice(product)"></div>
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!--底部支付按钮 仅未开通和到期显示-->
|
|
|
|
+ <div class="pay-amount-bottom" id="pay-amount-bottom" v-if="showBottomBtns">
|
|
|
|
+ <div>
|
|
|
|
+ <div class="pay-btn plain" onclick="_czc.push(['_trackEvent','开通超级会员','超级会员','采美豆抵扣2','','Um_Event_RegisterSuperByBeansTwo'])">
|
|
|
|
+ <a href="javascript:void(0);" @click="payAction(2, 2)">
|
|
|
|
+ 抵扣{{ comboInfo[currentIndex].price * comboInfo[currentIndex].proportion }}个采美豆开通
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pay-btn" onclick="_czc.push(['_trackEvent','开通超级会员','超级会员','支付2','','Um_Event_RegisterSuperPayTwo'])">
|
|
|
|
+ <a href="javascript:void(0);" @click="payAction(1, 2)">
|
|
|
|
+ 立即支付{{ comboInfo[currentIndex].price }}元开通
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!--遮罩-->
|
|
|
|
+ <div class="mask" v-if="showMask"></div>
|
|
|
|
+ <!--续费弹窗-->
|
|
|
|
+ <div class="renew-popup" v-if="showRenewPopup">
|
|
|
|
+ <div class="popup-title">续费超级会员套餐<span class="close" @click="handleCloseRenewPopup">×</span></div>
|
|
|
|
+ <div class="content combo-list">
|
|
|
|
+ <template v-if="comboInfo.length > 0">
|
|
|
|
+ <div>
|
|
|
|
+ <template v-for="(item, index) in comboInfo">
|
|
|
|
+ <div class="combo" :class="{active: index === currentIndex,recommend: index === 0}"
|
|
|
|
+ :key="index" @click="chooseCombo(index)">
|
|
|
|
+ <div class="how-mounts">{{ item.duration }}个月</div>
|
|
|
|
+ <div class="price"><i>¥</i>{{ item.price }}</div>
|
|
|
|
+ <div class="average">{{ item.price / item.duration }}元/月</div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ </div>
|
|
|
|
+ <div>
|
|
|
|
+ <div class="pay-btn" onclick="_czc.push(['_trackEvent','续费超级会员','超级会员','支付','','Um_Event_RenewSuperPay'])">
|
|
|
|
+ <a href="javascript:void(0);" @click="payAction(1, 3)">
|
|
|
|
+ 立即支付{{ comboInfo[currentIndex].price }}元开通
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="pay-btn plain" onclick="_czc.push(['_trackEvent','续费超级会员','超级会员','采美豆抵扣','','Um_Event_RenewSuperPayByBeans'])">
|
|
|
|
+ <a href="javascript:void(0);" @click="payAction(2, 3)">
|
|
|
|
+ 或抵扣{{ comboInfo[currentIndex].price * comboInfo[currentIndex].proportion }}个采美豆开通
|
|
|
|
+ </a>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </template>
|
|
|
|
+ <span v-else>暂无可选套餐~</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+</div>
|
|
|
|
+
|
|
|
|
+<!-- 引入底部 -->
|
|
|
|
+<template th:replace="components/footer"></template>
|
|
|
|
+<template th:replace="components/foot-link"></template>
|
|
|
|
+<script charset="utf-8" type="text/javascript" src="/lib/datapicker/moment-2.29.min.js"></script>
|
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/center.js(v=${version})}"></script>
|
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/user.service.js(v=${version})}"></script>
|
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/common/serviceapi/product.service.js(v=${version})}"></script>
|
|
|
|
+<script charset="utf-8" type="text/javascript" th:src="@{/js/user-center/member/memberPage.js(v=${version})}"></script>
|
|
|
|
+</body>
|
|
|
|
+</html>
|