|
@@ -34,7 +34,7 @@
|
|
</style>
|
|
</style>
|
|
</head>
|
|
</head>
|
|
|
|
|
|
-<body class="no-touch">
|
|
|
|
|
|
+<body class="no-touch" data-weui-theme="light">
|
|
|
|
|
|
{{if not .T.isLiveActive}}
|
|
{{if not .T.isLiveActive}}
|
|
<div class="vip-renew">
|
|
<div class="vip-renew">
|
|
@@ -46,10 +46,10 @@
|
|
<span class="header-right">您的超级订阅服务即将到期,为不影响您的使用。请立即续费</span>
|
|
<span class="header-right">您的超级订阅服务即将到期,为不影响您的使用。请立即续费</span>
|
|
</div>
|
|
</div>
|
|
<div class="vip-body">
|
|
<div class="vip-body">
|
|
- <div class="j-notice-bar bar-red vip-bar" style="text-align: center;">现在购买,买多久送多久,错过再等一年!</div>
|
|
|
|
|
|
+ <div class="j-notice-bar bar-red vip-bar" style="text-align: center;">现在续费,续多久送多久,错过再等一年!</div>
|
|
<ul style="padding: .16rem .24rem;">
|
|
<ul style="padding: .16rem .24rem;">
|
|
<li class="body-item area">
|
|
<li class="body-item area">
|
|
- <a class="item-container" href="/jyapp/vipsubscribe/toChooseArea">
|
|
|
|
|
|
+ <a class="item-container" href="/front/vipsubscribe/toChooseArea">
|
|
<div class="item">
|
|
<div class="item">
|
|
<span class="item-l">
|
|
<span class="item-l">
|
|
<span class="item-label">区域</span>
|
|
<span class="item-label">区域</span>
|
|
@@ -100,7 +100,7 @@
|
|
</ul>
|
|
</ul>
|
|
<ul style="padding: 0 .24rem;" id="giveTimeBox" style="display: none;">
|
|
<ul style="padding: 0 .24rem;" id="giveTimeBox" style="display: none;">
|
|
<li class="body-item select_cycle">
|
|
<li class="body-item select_cycle">
|
|
- <a class="item-container" href="javascript:;">
|
|
|
|
|
|
+ <div class="item-container" href="javascript:;">
|
|
<div class="item">
|
|
<div class="item">
|
|
<span class="item-l">
|
|
<span class="item-l">
|
|
<span class="item-label">赠送周期</span>
|
|
<span class="item-label">赠送周期</span>
|
|
@@ -109,7 +109,7 @@
|
|
<span id="giveTime" class="buy-cycle text" style="font-size: 14px;color: #9B9CA3;">6个月</span>
|
|
<span id="giveTime" class="buy-cycle text" style="font-size: 14px;color: #9B9CA3;">6个月</span>
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
- </a>
|
|
|
|
|
|
+ </div>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
@@ -346,7 +346,6 @@
|
|
$(".origin-price").hide()
|
|
$(".origin-price").hide()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- showGiveStatus(true)
|
|
|
|
|
|
|
|
$(window).bind("pageshow", function (event) {
|
|
$(window).bind("pageshow", function (event) {
|
|
if (event.originalEvent.persisted) {
|
|
if (event.originalEvent.persisted) {
|
|
@@ -420,6 +419,14 @@
|
|
if (r) {
|
|
if (r) {
|
|
purchase.price = r;
|
|
purchase.price = r;
|
|
if (r.isActiving && r.isWritten === 0) {
|
|
if (r.isActiving && r.isWritten === 0) {
|
|
|
|
+ if (!sessionStorage.getItem("vipSubSelectTime")) {
|
|
|
|
+ purchase.timeValue = "1年";
|
|
|
|
+ purchase.timeSelect_tmp = [1,1]
|
|
|
|
+ purchase.timeSelect = purchase.timeSelect_tmp;
|
|
|
|
+ purchase.showTime();
|
|
|
|
+ purchase.flushPrice(purchase.timeSelect, 1);
|
|
|
|
+ sessionStorage.setItem("vipSubSelectTime", JSON.stringify(purchase.timeSelect));
|
|
|
|
+ }
|
|
showGiveStatus(true)
|
|
showGiveStatus(true)
|
|
} else {
|
|
} else {
|
|
showGiveStatus(false)
|
|
showGiveStatus(false)
|
|
@@ -509,6 +516,7 @@
|
|
//var price = getsubVipOrderPrice(this.areaSelect, this.industrySelect, time, this.price);
|
|
//var price = getsubVipOrderPrice(this.areaSelect, this.industrySelect, time, this.price);
|
|
var times = [time[0], time[1]];
|
|
var times = [time[0], time[1]];
|
|
var price = getsubVipOrderPriceBybuyset(this.nowBuyset, time);
|
|
var price = getsubVipOrderPriceBybuyset(this.nowBuyset, time);
|
|
|
|
+ var givePrice = getsubVipOrderPriceBybuyset(this.nowBuyset, [time[1] === 1 ? 1 :time[0], time[1]]);
|
|
var showPrice = formatMoney(price);
|
|
var showPrice = formatMoney(price);
|
|
var nowTime = new Date().getTime();
|
|
var nowTime = new Date().getTime();
|
|
var startTime = live20200707.startTime;
|
|
var startTime = live20200707.startTime;
|
|
@@ -526,13 +534,13 @@
|
|
}
|
|
}
|
|
if (flag === 1) {
|
|
if (flag === 1) {
|
|
$('.billing-price').text(showPrice);
|
|
$('.billing-price').text(showPrice);
|
|
- $('.origin-price .price-num').text(formatMoney(parseFloat(price) * 2));
|
|
|
|
|
|
+ $('.origin-price .price-num').text(formatMoney(parseFloat(price + givePrice)));
|
|
|
|
|
|
} else if (flag === 2) {
|
|
} else if (flag === 2) {
|
|
$('.computed_price').html(showPrice);
|
|
$('.computed_price').html(showPrice);
|
|
} else {
|
|
} else {
|
|
$('.billing-price').text(showPrice);
|
|
$('.billing-price').text(showPrice);
|
|
- $('.origin-price .price-num').text(formatMoney(parseFloat(price) * 2));
|
|
|
|
|
|
+ $('.origin-price .price-num').text(formatMoney(parseFloat(price + givePrice)));
|
|
|
|
|
|
$('.computed_price').html(showPrice);
|
|
$('.computed_price').html(showPrice);
|
|
}
|
|
}
|