| xqd
@@ -201,6 +201,7 @@
|
|
|
showClose: false,
|
|
|
is_open: 0,
|
|
|
goods_id: 0,
|
|
|
+ mch_id:0,
|
|
|
detail: {
|
|
|
goods_activity: {
|
|
|
full_reduce: {}
|
| xqd
@@ -362,7 +363,8 @@
|
|
|
})
|
|
|
},
|
|
|
onLoad(options) { this.$commonLoad.onload(options);
|
|
|
- this.webUrl = '/plugins/pt/goods/goods?goods_id=' + options.goods_id;
|
|
|
+ this.webUrl = '/plugins/pt/goods/goods?goods_id=' + options.goods_id+'&mch_id='+options.mch_id;
|
|
|
+ this.mch_id = options.mch_id;
|
|
|
this.goods_id = options.goods_id;
|
|
|
this.requestDetail();
|
|
|
this.newRecommend();
|
| xqd
@@ -378,7 +380,8 @@
|
|
|
return this.$shareTimeline({
|
|
|
title: this.detail.app_share_title ? this.detail.app_share_title : this.detail.name,
|
|
|
query: {
|
|
|
- goods_id: this.goods_id
|
|
|
+ goods_id: this.goods_id,
|
|
|
+ mch_id:this.mch_id
|
|
|
} // 此处填写页面的参数
|
|
|
});
|
|
|
},
|
| xqd
@@ -396,7 +399,8 @@
|
|
|
imageUrl: this.detail.app_share_pic ? this.detail.app_share_pic : this.detail.pic_url[0].pic_url,
|
|
|
desc: this.detail.subtitle,
|
|
|
params: {
|
|
|
- goods_id: this.goods_id
|
|
|
+ goods_id: this.goods_id,
|
|
|
+ mch_id:this.mch_id
|
|
|
}
|
|
|
}, s);
|
|
|
},
|
| xqd
@@ -415,6 +419,7 @@
|
|
|
method: 'get',
|
|
|
data: {
|
|
|
id: this.goods_id,
|
|
|
+ mch_id:this.mch_id
|
|
|
}
|
|
|
});
|
|
|
if (e.code === 0) {
|