diff --git a/exchange.html b/exchange.html
index 5ecf008..65acb3c 100644
--- a/exchange.html
+++ b/exchange.html
@@ -293,7 +293,11 @@
//兑换商品
exchangeGoodsFn () {
if (goodsDetail.available != 1) {
- return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
+ if(this.goodsDetail.available === 23 && this.goodsDetail.available.period_tips_text) {
+ return this.openErrorDialog(this.goodsDetail.available.period_tips_text)
+ } else {
+ return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
+ }
}
/* 卡密商品直接兑换 */
diff --git a/index.html b/index.html
index b1c7f95..a1a7f5d 100644
--- a/index.html
+++ b/index.html
@@ -123,8 +123,8 @@
//获取链接携带的参数
let linkId = getQueryString('id');
let keyCode = getQueryString('key');
- // linkId = '3438'
- // keyCode="AAACm5p65D48ZquM"
+ linkId = '2360'
+ keyCode="AAAES5AkbYLpBdjp"
if (!linkId) {//地址栏无携带id
let path = window.location.pathname;
diff --git a/packkey/exchange.html b/packkey/exchange.html
index b552fa0..393325d 100644
--- a/packkey/exchange.html
+++ b/packkey/exchange.html
@@ -341,7 +341,12 @@
//兑换商品
exchangeGoodsFn () {
if (goodsDetail.available != 1) {
- return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
+ if(this.goodsDetail.available === 23 && this.goodsDetail.available.period_tips_text) {
+ return this.openErrorDialog(this.goodsDetail.available.period_tips_text)
+ } else {
+ return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
+ }
+ // return this.openErrorDialog(product_status(goodsDetail.available, goodsDetail));
}
/* 卡密商品直接兑换 */
diff --git a/packkey/reduce.html b/packkey/reduce.html
index fc6484a..afeb31a 100644
--- a/packkey/reduce.html
+++ b/packkey/reduce.html
@@ -232,7 +232,11 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
- self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
+ if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
+ self.openErrorDialog(self.goodInfo.period_tips_text)
+ } else {
+ self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
+ }
this.loading = false;
return;
}
diff --git a/reduce.html b/reduce.html
index cfebf91..2b72509 100644
--- a/reduce.html
+++ b/reduce.html
@@ -237,7 +237,11 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
- self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
+ if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
+ self.openErrorDialog(self.goodInfo.period_tips_text)
+ } else {
+ self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
+ }
this.loading = false;
return;
}
diff --git a/xw-pages/reduce.html b/xw-pages/reduce.html
index d18a3e2..effc1a7 100644
--- a/xw-pages/reduce.html
+++ b/xw-pages/reduce.html
@@ -244,7 +244,12 @@
this.loading = true;
let self = this;
if (self.goodInfo.available != 1) {
- self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
+ if(self.goodInfo.available === 23 && self.goodInfo.period_tips_text) {
+ self.openErrorDialog(self.goodInfo.period_tips_text)
+ } else {
+ self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
+ }
+ // self.openErrorDialog(product_status(self.goodInfo.available, self.goodInfo));
this.loading = false;
return;
}