|
|
@@ -182,31 +182,6 @@ Page({ |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
/** |
|
|
|
* 用户点击右上角分享 |
|
|
|
*/ |
|
|
|
// paramData |
|
|
|
onShareAppMessage: function (res) { |
|
|
|
if (res.from === 'button') { |
|
|
|
console.log(res, 3333333333333333333333) |
|
|
|
// 来自页面内转发按钮 |
|
|
|
let _this = this; |
|
|
|
let data = res.target.dataset.data |
|
|
|
return { |
|
|
|
title: data.nickName + '超值推荐的' + data.title, |
|
|
|
path: `/pages/index/index?couponId=${data.couponId}&orderGroupId=${data.orderGroupId}&couponChannelId=${data.couponChannelId}&orderId=${data.orderId}&avatarUrl=${_this.data.avatarUrl}&nickName=${_this.data.nickName}`, |
|
|
|
imageUrl: data.coverImg, |
|
|
|
success: function (res) { |
|
|
|
// 转发成功 |
|
|
|
}, |
|
|
|
fail: function (res) { |
|
|
|
// 转发失败 |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
console.log(res, 444444444444444444) |
|
|
|
} |
|
|
|
}, |
|
|
|
getList(pageNum, flag) { |
|
|
|
var that = this; |
|
|
|
console.log(pageNum) |
|
|
|