...
|
...
|
@@ -16,6 +16,10 @@ function h5Name(name) { |
|
|
return `【0元抽奖】${name}`;
|
|
|
}
|
|
|
|
|
|
function h5Desc(name) {
|
|
|
return `【限时抽奖】0元免费拿${name}`;
|
|
|
}
|
|
|
|
|
|
function shareData({name, imgUrl, price, shareUid, actPrizeId}) {
|
|
|
let urls = imgUrl.split('?');
|
|
|
let shareImg = urls[0] || imgUrl;
|
...
|
...
|
@@ -32,14 +36,14 @@ function shareData({name, imgUrl, price, shareUid, actPrizeId}) { |
|
|
miniProgramUrl: miniPath(shareUid, actPrizeId),
|
|
|
miniProgramQCodeUrl: miniQrcode(shareUid, actPrizeId),
|
|
|
link: h5Path(shareUid, actPrizeId),
|
|
|
desc: '限时抽奖活动',
|
|
|
desc: h5Desc(name),
|
|
|
hideType: ['7', '8', '9']
|
|
|
},
|
|
|
h5: {
|
|
|
title: h5Name(name),
|
|
|
imgUrl: imgUrl,
|
|
|
link: h5Path(shareUid, actPrizeId),
|
|
|
desc: '限时抽奖活动'
|
|
|
desc: h5Desc(name)
|
|
|
}
|
|
|
};
|
|
|
}
|
...
|
...
|
|