fix: 修改弹窗
This commit is contained in:
parent
0193965f8a
commit
e104a9a61c
|
@ -148,10 +148,10 @@
|
|||
this.isMini = /miniProgram/i.test(ua);
|
||||
|
||||
/* 初始弹窗 */
|
||||
// if (![1, 9].includes(this.ysf.available)) {
|
||||
// this.is = true;
|
||||
// this.tip(product_status(this.ysf.available, this.ysf), 2);
|
||||
// }
|
||||
if (![1, 9].includes(this.ysf.available)) {
|
||||
this.is = true;
|
||||
this.tip(product_status(this.ysf.available, this.ysf), 2);
|
||||
}
|
||||
|
||||
/* 倒计时 */
|
||||
const key_expiration_time = sessionStorage.getItem('key_expiration_time');
|
||||
|
|
|
@ -150,10 +150,10 @@
|
|||
document.title = localStorage.getItem('title');
|
||||
|
||||
// /* 初始弹窗 */
|
||||
// if (this.goodsInfo.available == 8) {
|
||||
// this.is = true;
|
||||
// this.tip(product_status(this.goodsInfo.available, this.goodsInfo), 2);
|
||||
// }
|
||||
if (this.goodsInfo.available == 8) {
|
||||
this.is = true;
|
||||
this.tip(product_status(this.goodsInfo.available, this.goodsInfo), 2);
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
@ -142,11 +142,11 @@
|
|||
mounted() {
|
||||
document.title = localStorage.getItem('title');
|
||||
|
||||
// /* 初始弹窗 */
|
||||
// if (this.goodsInfo.available == 8) {
|
||||
// this.is = true;
|
||||
// this.tip(product_status(this.goodsInfo.available, this.goodsInfo), 2);
|
||||
// }
|
||||
/* 初始弹窗 */
|
||||
if (this.goodsInfo.available == 8) {
|
||||
this.is = true;
|
||||
this.tip(product_status(this.goodsInfo.available, this.goodsInfo), 2);
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
Loading…
Reference in New Issue