÷ƽ̨|||Ϻ|||||㶫|||ӱ||||||||ɹ||ຣ|ɽ|ɽ||㶫|Ĵ||wns151.c0m|||㽭
ǵ΢
$(function(){ var useragent = navigator.userAgent; if(/mobile/ig.test(useragent)){ var share_title = 'ʮһʦҽԺ˾Ŀչ鿼'; var share_desc = $("#MyContent").text().replace(/<[^>]+>|&[^>]+;|\n/g,"").trim().substring(0,30); var share_url = window.location.href.split('#')[0]; var imgObj = $("#xw_content").find('img');//ѰͼƬ1 var share_img = "http://i2.chinanews.com/thumbnailzhi44.png";//http://image.cns.com.cn/default/2e8142d7/20190218/qrcode.jpg var localPathArr = share_url.split("/"); localPathArr.pop(); /*if(imgObj.length>0){ var imgUrl = imgObj.eq(0).attr("src"); var isAbsolutePath = /https|http/g.test(imgUrl); if(isAbsolutePath){ share_img = imgUrl; }else{ if(imgUrl.indexOf("/")>=0){ share_img = window.location.origin + imgUrl; }else{ share_img = localPathArr.join("/") +"/"+ imgUrl; } } }*/ if(imgObj.length>0){ share_img = /https|http/g.test(imgObj.eq(0).attr("src"))?imgObj.eq(0).attr("src"):localPathArr.join("/") +"/"+ imgObj.eq(0).attr("src"); } /*var did = share_url.split("/").pop().split(".")[0]; if(did=='313335' || did=='313309' || did=='313341'){ alert(imgObj.eq(0).attr("src")); }*/ $.ajax({ url: '//lc.chinanews.com:8090/jssdksign?url=' + encodeURIComponent(location.href.split('#')[0]), type: 'get', dataType: 'jsonp', jsonp:'callback', success:function(data){ wx.config({ debug: false, appId: data["appid"], timestamp: data["timestamp"], nonceStr: data["nonceStr"], signature: data["signature"], jsApiList: [ 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', 'onMenuShareQZone' ] }); wx.ready(function(){ wx.checkJsApi({ jsApiList:['getNetworkType'], success:function(res){ } }); //1.Ȧ wx.onMenuShareTimeline({ title: share_title, // link: share_url, // ӣ·뵱ǰҳӦĹںJSȫһ imgUrl: share_img // ͼ }); //2. wx.onMenuShareAppMessage({ title: share_title, // desc: share_desc, // link: share_url, // ӣ·뵱ǰҳӦĹںJSȫһ imgUrl: share_im 5b4 g, // ͼ type: 'link', // ,musicvideolinkĬΪlink dataUrl: ''// typemusicvideoҪṩӣĬΪ }); //3.qq wx.onMenuShareQQ({ title: share_title, // desc: share_desc, // link: share_url, // imgUrl: share_img// ͼ }); //4.Ѷ΢ wx.onMenuShareWeibo({ title: share_title, // desc: share_desc, // link: share_url, // imgUrl: share_img// ͼ }); //5.qqռ wx.onMenuShareQZone({ title: share_title, // desc: share_desc, // , link: share_url, // imgUrl: share_img// ͼ }); }); wx.error(function(res){ }); } }) } })
֧

ʮһʦҽԺ˾Ŀչ鿼

20191205 19:49÷IJwns151.c0m
ֺţ
:
b61

125յ()Ϊ뿪չѷ֤ʵʵգwns151.c0mŵʮһҽԺ֯£С飬ԵʮһʦҽƷĽ2019Ȼռ鿼ˡ

122գСԵʮһʦҽԺ˾Ľм鿼ˣֳͨĸ̨ˡ񽡿绰ʵȵ顢˽ͥҽǩԼ14ĿĿչۺϲ

ж˾ĸ̨˵ϵͳʱ¼롢Բչ0-6ͯؾȸϸƣõСԱһºرǶԹͻֵĹԱе͹зֵ⣬ʱֳָָ

˾شܽᷢʱʾͨ鷢ֹв֮ܽṤ飬ԷֵʵģƸݣ߸չĸɫΪṩʵĻ

(༭Ԭ)
:
0