diff --git a/packages/advertising/goodsDetail/index.vue b/packages/advertising/goodsDetail/index.vue index 8964a8a0..1c92b753 100644 --- a/packages/advertising/goodsDetail/index.vue +++ b/packages/advertising/goodsDetail/index.vue @@ -297,6 +297,7 @@ export default { boxshadow1: false, boxshadow2: false, id: "", + adver_id: "",//活动id groupById: "", promotional_price: "", //活动价 info: "", @@ -541,6 +542,7 @@ export default { getGoodsInfo() { const params = { id: this.id, + adver_id: this.adver_id, } request(apiArr.getGoodsInfo, "POST", params).then((res) => { // 分割图片 @@ -781,6 +783,7 @@ export default { this.top = meun.top; this.localHeight = meun.height; this.id = this.itemObj.commodity_id ? this.itemObj.commodity_id : this.itemObj.id; + this.adver_id = this.itemObj.adver_id this.groupById = this.itemObj.groupById this.promotional_price = this.itemObj.promotional_price this.getBuyRecord()