diff --git a/index.html b/index.html
index fbaef46..15b2d6b 100644
--- a/index.html
+++ b/index.html
@@ -313,8 +313,12 @@
this.openDialog('正在加载商品...');
localStorage.setItem('entryLink', window.location.href);//存储起始页链接
setTimeout(() => {
- window.location.href = '../homepage.html';
- }, 1000);
+ if (this.pageType === 4 || this.pageType === 8) {
+ window.location.href = './coupon/couponCollection.html';
+ } else {
+ window.location.href = './homepage.html';
+ }
+ }, 1000);
} else {
self.openErrorDialog(self.tiptext);
}
@@ -349,7 +353,7 @@
},
watch: {
key (val) {
- this.disabled = Boolean(!(this.pageType == 1 && val.length == 11));
+ this.disabled = Boolean(!([1,8].includes(this.pageType)&& val.length == 11));
}
}
});