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=1581&classid=5&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: 1747193754,
nonceStr: 'Jwm4HwyewAZ988qW',
signature: '61b764062451ba670bcd12fc49058cea1859be61',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6c7e\u9633\u533b\u9662\uff1a2020\u5e74\u7b2c\u4e00\u5929\uff0c\u9886\u5bfc\u56de\u6751\u91cc\u53bb\u5e72\u5565\uff1f","smalltext":"2020\u5e74\u7684\u7b2c\u4e00\u5929\uff0c\u6c7e\u9633\u533b\u9662\u515a\u59d4\u4e66\u8bb0\u90ed\u4efb\u7ef4\u3001\u526f\u9662\u957f\u90ed\u5efa\u5e73\u548c\u6276\u8d2b\u961f\u5458\u4eec\u5c31\u9876\u7740\u51db\u51bd\u5bd2\u98ce\u524d\u6765\u5230\u859b\u5bb6\u57a3\u6751\uff0c\u4e00\u8def\u4e0a\uff0c\u4ed6\u4eec\u9ad8\u5174\u5730\u8bf4\uff1a\u6211\u4eec\u56de\u6751\u91cc\u8fc7\u5143\u65e6\u53bb\uff01\u5728\u4ed6\u4eec\u5fc3\u91cc\uff0c\u859b\u5bb6\u57a3\u6751\u5df2\u7ecf\u6210\u4e3a\u4ed6\u4eec\u7684\u5bb6","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1581"};
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 () {
}
});
});
}