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=222&classid=14&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: 1730418728, nonceStr: '3M8zzhc7Seisa8Uv', signature: '1f44c56ab386b0666396cad63b61def99d2d21c9', jsApiList: [ 'checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo', ] }); wx.ready(function () { var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"2019\u5e74\u4e2d\u56fd\u533b\u9662\u4eba\u6587\u54c1\u724c\u5cf0\u4f1a\u73b0\u573a\u63a0\u5f71\u4e4b\u4e09","smalltext":"","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=222"}; 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 () { } }); }); }