function BeautyToast(text){var str=``+text+``; try{var div=document.createElement("div");div.setAttribute("class","_BeautyToast");div.innerHTML=str;document.body.appendChild(div);setTimeout(function(){div.setAttribute("class","_BeautyToast onshow")},100);setTimeout(function(){div.setAttribute("class","_BeautyToast");setTimeout(function(){div.parentNode.removeChild(div)},200)},2000)}catch(e){}} function updateViewtime(){ var img =new Image(); img.src='/e/extend/shareinfo/api/?act=leave&id=418&classid=6&t='; } window.onunload=updateViewtime;setInterval(updateViewtime,2000); var script=document.createElement("script"); script.type="text/javascript"; script.src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"; document.getElementsByTagName('head')[0].appendChild(script); script.onload=function(){ wx.config({ debug: false, appId: 'wxad180590bbd7e222', timestamp: 1714771119, nonceStr: 'njkP1Vz21hYLZZHM', signature: '72005902534ea4508ceeb58c619c47016b502445', jsApiList: [ 'checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', ] }); wx.ready(function () { var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u7597\u548c\u533b\u52a1\u5de5\u4f5c\u8005\u7684\u4f7f\u547d\u4e0e\u62c5\u5f53(\u90ed\u6cbb\u4e2d)","smalltext":"1","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=6&id=418"}; if(!WxShareInfo.url){ WxShareInfo.url = window.location.href; } wx.onMenuShareTimeline({ title: WxShareInfo.title, link: WxShareInfo.url, imgUrl: WxShareInfo.titlepic, success: function (e) { BeautyToast('分享成功'); }, cancel: function () { } }); wx.onMenuShareAppMessage({ title: WxShareInfo.title, desc: WxShareInfo.smalltext, link: WxShareInfo.url, imgUrl: WxShareInfo.titlepic, type: '', dataUrl: '', success: function (e) { BeautyToast('分享成功'); }, cancel: function () { } }); wx.onMenuShareQQ({ title: WxShareInfo.title, desc: WxShareInfo.smalltext, link: WxShareInfo.url, imgUrl: WxShareInfo.titlepic, success: function () { BeautyToast('分享成功'); }, cancel: function () { } }); }); }