fix(落地页):修改落地页类型跳转
This commit is contained in:
parent
7945cc82f8
commit
ff429da996
|
@ -313,7 +313,11 @@
|
||||||
this.openDialog('正在加载商品...');
|
this.openDialog('正在加载商品...');
|
||||||
localStorage.setItem('entryLink', window.location.href);//存储起始页链接
|
localStorage.setItem('entryLink', window.location.href);//存储起始页链接
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.href = '../homepage.html';
|
if (this.pageType === 4 || this.pageType === 8) {
|
||||||
|
window.location.href = './coupon/couponCollection.html';
|
||||||
|
} else {
|
||||||
|
window.location.href = './homepage.html';
|
||||||
|
}
|
||||||
}, 1000);
|
}, 1000);
|
||||||
} else {
|
} else {
|
||||||
self.openErrorDialog(self.tiptext);
|
self.openErrorDialog(self.tiptext);
|
||||||
|
@ -349,7 +353,7 @@
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
key (val) {
|
key (val) {
|
||||||
this.disabled = Boolean(!(this.pageType == 1 && val.length == 11));
|
this.disabled = Boolean(!([1,8].includes(this.pageType)&& val.length == 11));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue