标签:des io ar cti sp on c line ad
document.addEventListener("WeixinJSBridgeReady",
function() {
if (WeixinJSBridge) {
//分享给好友
WeixinJSBridge.on("menu:share:appmessage", function() {
WeixinJSBridge.invoke(
"sendAppMessage",
{
img_url: shareData.imgUrl,
link: shareData.timeLineLink,
desc: shareData.tContent,
title: b
}, function() {});
});
WeixinJSBridge.on("menu:share:timeline", function() {
//分享到朋友圈
WeixinJSBridge.invoke(
"shareTimeline",
{
img_url: shareData.imgUrl,
link: shareData.timeLineLink,
desc: shareData.tContent,
title: b
}, function() {});
});
}
},
false);
标签:des io ar cti sp on c line ad
原文地址:http://www.cnblogs.com/yaojaa/p/3956097.html