fix: 修改弹窗

This commit is contained in:
zhangds 2024-06-18 15:50:00 +08:00
parent 0193965f8a
commit e104a9a61c
3 changed files with 29 additions and 29 deletions

View File

@ -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');

View File

@ -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: {

View File

@ -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: {