Commit ae0d6319 authored by Xuguangxing's avatar Xuguangxing

fix: 商品详情页海报图去掉头像信息

parent 1f8c8048
...@@ -290,27 +290,27 @@ export default { ...@@ -290,27 +290,27 @@ export default {
}, },
methods: { methods: {
setShareData() { setShareData() {
const avatorList = []; // const avatorList = [];
if (this.detailInfo.groupBuyInfo.groupBuyValidUserInfoList) { // if (this.detailInfo.groupBuyInfo.groupBuyValidUserInfoList) {
this.detailInfo.groupBuyInfo.groupBuyValidUserInfoList.map(v => { // this.detailInfo.groupBuyInfo.groupBuyValidUserInfoList.map(v => {
avatorList.push(v.avatar); // avatorList.push(v.avatar);
}); // });
} // }
const sharePicData = { const sharePicData = {
groupBuySuccessGuys: this.detailInfo?.groupBuyInfo.groupBuySuccessPersonCount, groupBuySuccessGuys: this.detailInfo?.groupBuyInfo.groupBuySuccessPersonCount,
salePrice: this.detailInfo.price, // y salePrice: this.detailInfo.price,
groupBuyGroupId: this.groupId, // groupBuyGroupId: this.groupId, // 分享出去不携带团id,故注释掉
goodsSpecialId: this.detailParam.goodsSpecialId, goodsSpecialId: this.detailParam.goodsSpecialId,
openGroupCnt: this.detailInfo?.groupBuyInfo.groupBuyLimitUserCount, openGroupCnt: this.detailInfo?.groupBuyInfo.groupBuyLimitUserCount,
templateId: this.detailParam.templateId, templateId: this.detailParam.templateId,
templateDetailId: this.detailParam.templateDetailId, templateDetailId: this.detailParam.templateDetailId,
needGuys: this.detailInfo?.groupBuyInfo.groupBuyNeedUserCount, needGuys: this.detailInfo?.groupBuyInfo.groupBuyNeedUserCount,
skuName: this.detailInfo.goodsName, // y skuName: this.detailInfo.goodsName,
activityId: this.detailParam.activityId, activityId: this.detailParam.activityId,
skuImg: this.detailInfo.thumbImageUrl, // y, skuImg: this.detailInfo.thumbImageUrl,
activityPrice: this.detailInfo.activityPrice, // y activityPrice: this.detailInfo.activityPrice,
skuNo: this.detailParam.skuNo, skuNo: this.detailParam.skuNo,
peoplePhotoList: avatorList, peoplePhotoList: [], // 原本是avatorList,如上方注释,因与产品确认过商品详情页分享出去不携带团id,故头像传递空数组即可
endTime: this.detailInfo?.groupBuyInfo.currentGroupEndTime || this.detailInfo?.endTime || '' endTime: this.detailInfo?.groupBuyInfo.currentGroupEndTime || this.detailInfo?.endTime || ''
}; };
EventBus.$emit('goods_share_info', { EventBus.$emit('goods_share_info', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment