小程序分享好友 1.分享好友 当点击分享按钮时,分享好友 官方文档 https://developers.weixin.qq.com/miniprogram/dev/component/button.html fxhy.js Page({ Showsh:function(e){ console.log('a') wx.showShareMenu({ withShareTicket: true, menus: ['shareAppMessage',