微信小程序点击按钮分享指定页面

微信小程序点击按钮分享指定页面 1.在wxml里写所要点击的按钮 <button data-info='{{order}}' open-type="share" hover-class='none'>分享</button> 2.在js页面 //gbi指用户所要传递的参数(能够没有参数) //path:用户须要分享的页面web onShareAppMessage: function (res) {
相关文章
相关标签/搜索