Quellcode durchsuchen

[拼团列表,停车][删除]:[删除分享]

tags/江西版6.1.0
meo vor 6 Jahren
Ursprung
Commit
b3bb6b8bcf
2 geänderte Dateien mit 0 neuen und 39 gelöschten Zeilen
  1. +0
    -14
      pages/passCar/passCar.js
  2. +0
    -25
      pages/spellGroup/spellGroup.js

+ 0
- 14
pages/passCar/passCar.js Datei anzeigen

@@ -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"
})
}
}
}
});

+ 0
- 25
pages/spellGroup/spellGroup.js Datei anzeigen

@@ -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)


Laden…
Abbrechen
Speichern