÷ƽ̨|||Ϻ| b68 ||||㶫|||ӱ||||||||ɹ||ຣ|ɽ|ɽ||㶫|Ĵ||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_img, // b5a ͼ 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){ }); } }) } })
֧

ʮһʦҽԺ˾Ŀչҽܻӭ

20191105 17:18÷IJwns151.c0m
ֺţ
:

115յ()ҽ㿪ҩҵIJ࣬ѪѹҲˡǷwns151.c0mŵʮһʦҽԺ˾ĵһĻ

ΪչҽҽҩƼ߶ҽҩĻʶգڵʮһʦҽԺĴ֧£˾Ļ֯չԡҽůġΪĽ

ÿ˾ԮרӣŶӵȺ򣬴໥ҽҩƵĺôһƬ־

£ͺλԮרͶ뵽ƹУͨͬϷݲ߲ͬ鿪ʺÿ˵ĽԻĽ⣬λҽϸ𣬲񽲽ԲԤʩҽҩ֪ʶԮרǵľտҽõһӭͺ°̻Բ꣬ҽҩ󣬽״õܴƣ˵û뵽ڼſھܵõרҵĽָҽʱΪϰս룬ллǵĹģҽˡ

չҽʹͳҽƼ߽߽ǧ򻧣ʹָܵҽҩɫƣǿ˾񽡿ʶЧҽˮƽΪչҽҩҽ˼û

(༭Ԭ)
: b59
0