发送给好友
document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
WeixinJSBridge.on('menu:share:appmessage', function(argv){
WeixinJSBridge.invoke('sendAppMessage',{
"img_url":"http://119.253.38.93/images/logo.jpg",
//"img_width":"640",
//"img_height":"640",
"link":window.location.href,
"desc": document.title,
"title":document.title
});
});
// 分享到朋友圈
WeixinJSBridge.on('menu:share:timeline', function(argv){
WeixinJSBridge.invoke('shareTimeline',{
"img_url":"http://119.253.38.93/images/logo.jpg",
//"img_width":"640",
//"img_height":"640",
"link":window.location.href,
"desc": document.title,
"title":document.title
});
});
});
中国足彩网信息请查看IT技术专栏
2025国考·省考课程试听报名