...
|
...
|
@@ -495,8 +495,8 @@ Page( |
|
|
},
|
|
|
onShareAppMessage(res) {
|
|
|
let params = {
|
|
|
TITLE: `【0元抽奖】点一下,免费拿走${this.data.product.name}`,
|
|
|
DESC: '我在YO!LUCK发现一个不错的商品赶快来看看1吧!',
|
|
|
TITLE: `有货UFO在Yohood现场搞事情,点一下可原价购买${this.data.product.name}`,
|
|
|
DESC: '我在YOHOOD发现一个不错的商品赶快来看看吧!',
|
|
|
};
|
|
|
this.setData({
|
|
|
shareFlag: true,
|
...
|
...
|
@@ -512,14 +512,14 @@ Page( |
|
|
return {
|
|
|
title: params.TITLE, // 分享标题
|
|
|
desc: params.DESC, // 分享描述
|
|
|
path: `/pages/zeroSell/detail?actPrizeId=${this.data.product.id}`,
|
|
|
path: `/pages/zeroSell/originalPriceSell?actPrizeId=${this.data.product.id}`,
|
|
|
};
|
|
|
} else if (res.from === 'button') {
|
|
|
// 用户点击分享按钮
|
|
|
return {
|
|
|
title: params.TITLE, // 分享标题
|
|
|
desc: params.DESC, // 分享描述
|
|
|
path: `/pages/zeroSell/detail?actPrizeId=${
|
|
|
path: `/pages/zeroSell/originalPriceSell?actPrizeId=${
|
|
|
this.data.product.id
|
|
|
}&shareUid=${app.getUid()}`,
|
|
|
};
|
...
|
...
|
|