From d8f724ae68956c7f6b5dd8315212570e86a24d45 Mon Sep 17 00:00:00 2001 From: zhangguoping Date: Mon, 30 Sep 2024 18:30:51 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E6=B1=82497?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exchange.html | 6 +++++- index.html | 4 ++-- packkey/exchange.html | 7 ++++++- packkey/reduce.html | 6 +++++- reduce.html | 6 +++++- xw-pages/reduce.html | 7 ++++++- 6 files changed, 29 insertions(+), 7 deletions(-) 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; }