微信小程序點擊按鈕分享指定頁面

微信小程序點擊按鈕分享指定頁面 1.在wxml裏寫所要點擊的按鈕 <button data-info='{{order}}' open-type="share" hover-class='none'>分享</button> 2.在js頁面 //gbi指用戶所要傳遞的參數(能夠沒有參數) //path:用戶須要分享的頁面web onShareAppMessage: function (res) {
相關文章
相關標籤/搜索