JS onShareAppMessage: function (res) { if (res.from === 'button') { console.log(res.target) } return { title: "分享给好友", path: '/pages/s_tapsharebutton webviewid">
赞
踩
<button open-type="share">
<view>分享给好友</view>
</button>
onShareAppMessage: function (res) {
if (res.from === 'button') {
console.log(res.target)
}
return {
title: "分享给好友",
path: '/pages/share/share',
imgurl:'',
success: function (res) {
console.log('成功', res)
}
}
},
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。