onShareAppMessage: function(e) {
var that = this
var relaytype = e.target.dataset.relaytype
var userInfo = wx.getStorageSync("userInfo")
wx.showShareMenu({
withShareTicket: true
})
if (e.from === 'button') {
if (!that.data.Forwardsuccess){
return {
title: userInfo.nick_name + '请你免费喝咖啡',
path: '/page/tabBar/startLoadingTheawards/startLoadingTheawards?openId=' + userInfo.open_id + '&orderId=' + that.data.orderId + '&relaytype=' + relaytype + '&selectprizecomponent=' + that.data.selectprizecomponent + '&magna_id=' + that.data.magna_id + '&change_id=' + that.data.change_id + '&nick_name=' + userInfo.nick_name,
width: 20,
height: 20,
imageUrl: wx.getStorageSync("config").wx_start_img,
success: function (e) {
wx.showShareMenu({
withShareTicket: true
})
that.setData({
Forwardsuccess: true,
isrelaytype:4,
selectprizecomponents:null
})
},
complete:function(){
wx.showShareMenu({
withShareTicket: true
})
that.setData({
Forwardsuccess: true,
isrelaytype: 4,
selectprizecomponents: null
})
}
}
}
}
哈哈哈,楼主的文档更新没有。
愁死了
楼主这个bug改了1个月,在社区群众的热心调侃下终于找到了答案。。。。
什么!!大清亡了?
村里刚通网?
AFK多久了?
欢迎回来。。
仿佛活在远古时代,,
官方不让用了