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
})
}
}
}
}
楼主是不是刚休完产假回来?
大哥,你玩单机版?
各位大佬,意思是onShareAppMessage的回调都用不了?
多谢,明白了
看这个 https://developers.weixin.qq.com/community/develop/doc/0000447a5b431807af57249a551408?page=4#comment-list 我刚发的是6月的,这是9月的新文档,啥回调都没有了
嗯嗯
楼主你是活化石啊
我倒,你也网上冲浪啊
楼主估计是封闭开发了几个月,一结束世界都变了。
多久没看官方文档了
你也在网上冲浪啊
村里刚连上网 谢谢大家。
兄弟,致远星战况如何