From b3bb6b8bcf75db8d5ccbcd93b2c516d51466fa92 Mon Sep 17 00:00:00 2001 From: meo <18801474720@163.com> Date: Tue, 28 May 2019 20:48:54 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=8B=BC=E5=9B=A2=E5=88=97=E8=A1=A8=EF=BC=8C?= =?UTF-8?q?=E5=81=9C=E8=BD=A6][=E5=88=A0=E9=99=A4]:[=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E5=88=86=E4=BA=AB]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/passCar/passCar.js | 14 -------------- pages/spellGroup/spellGroup.js | 25 ------------------------- 2 files changed, 39 deletions(-) diff --git a/pages/passCar/passCar.js b/pages/passCar/passCar.js index 2dbdd9d..e7f50bf 100644 --- a/pages/passCar/passCar.js +++ b/pages/passCar/passCar.js @@ -578,19 +578,5 @@ Page({ let that = this; that.initUsrCarList("flags"); wx.stopPullDownRefresh(); - }, - // 用户点击右上角分享 - onShareAppMessage: function() { - return { - title: this.data.title, - desc: this.data.desc, - success: function(res) { - wx.showToast({ - title: "分享成功", - duration: 1000, - icon: "success" - }) - } - } } }); \ No newline at end of file diff --git a/pages/spellGroup/spellGroup.js b/pages/spellGroup/spellGroup.js index 7be5375..bda751a 100644 --- a/pages/spellGroup/spellGroup.js +++ b/pages/spellGroup/spellGroup.js @@ -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)