mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 08:55:52 +08:00
修改促销活动展示问题
This commit is contained in:
@@ -334,7 +334,7 @@ export default {
|
|||||||
if (this.wholesaleList && this.wholesaleList.length > 0) {
|
if (this.wholesaleList && this.wholesaleList.length > 0) {
|
||||||
this.count = this.wholesaleList[0].num;
|
this.count = this.wholesaleList[0].num;
|
||||||
}
|
}
|
||||||
|
this.promotion();
|
||||||
this.swiperGoodsImg();
|
this.swiperGoodsImg();
|
||||||
},
|
},
|
||||||
deep: true,
|
deep: true,
|
||||||
@@ -563,6 +563,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
promotion() {
|
promotion() {
|
||||||
|
this.promotionMap = {SECKILL: null, FULL_DISCOUNT: null, COUPON: []};
|
||||||
// 格式化促销活动,返回当前促销的对象
|
// 格式化促销活动,返回当前促销的对象
|
||||||
if (!this.detail.promotionMap) return false;
|
if (!this.detail.promotionMap) return false;
|
||||||
let keysArr = Object.keys(this.detail.promotionMap);
|
let keysArr = Object.keys(this.detail.promotionMap);
|
||||||
@@ -600,7 +601,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.formatSku(this.goodsSpecList);
|
this.formatSku(this.goodsSpecList);
|
||||||
this.promotion();
|
// this.promotion();
|
||||||
document.title = this.skuDetail.goodsName;
|
document.title = this.skuDetail.goodsName;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user