小程序如何分享给好友-微信小程序分享给好友-小程序分享
微信小程序分享给好友
1.1.html的代码
buttonclass="fixed-textfixed-button"open-type="share"title="分享"hover-class="none"分享好友/button2.2.js的代码
onShareAppMessage:function(res){if(res.from=='button'){console.log(res.target,res)}return{title:'这里是发送时候的标题',path:'/pages/home/index',//这里是被分享的人点击进来之后的页面imageUrl:'../../images/icon-logo.png'//这里是图片的路径}},TAG标签: 微信小程序小程序如何分享给好友小程序分享
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。

