问题:
微信开发时实现分享功能,分享到QQ是可以的,但是分享到微信内就是非自定义的了。
分享到QQ:
分享到微信内:
两个分享用的是同一段代码,且我的微信版本时6.7.3最新版本,照道理时支持新分享接口的…
// “分享给朋友”及“分享到QQ”
that.$wx.updateAppMessageShareData({
title: that.course_detail.title, // 分享标题
desc: that.course_detail.sub_title, // 分享描述
link: window.location.href, // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
imgUrl: that.course_detail.posters, // 分享图标
success: function(res) {
// 设置成功
}
});
在jsApiList中在把旧的微信好友分享接口函数也写上就好了。