|
@@ -346,7 +346,6 @@
|
|
|
$(".origin-price").hide()
|
|
|
}
|
|
|
}
|
|
|
- showGiveStatus(true)
|
|
|
|
|
|
$(window).bind("pageshow", function (event) {
|
|
|
if (event.originalEvent.persisted) {
|
|
@@ -420,12 +419,14 @@
|
|
|
if (r) {
|
|
|
purchase.price = r;
|
|
|
if (r.isActiving && r.isWritten === 0) {
|
|
|
- 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));
|
|
|
+ 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)
|
|
|
} else {
|
|
|
showGiveStatus(false)
|