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=3009&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: 1749397155,
nonceStr: 'IjV6uEMIy8aSGhOw',
signature: 'f1982d1f5f355ee886b529e0e582be8db4dac9f6',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u7edd\u4e0d\u653e\u5f03\u4f60 \u5954\u6ce24000\u516c\u91cc \u4e0e\u6b7b\u795e\u201c\u62a2\u201d\u5973\u53cb","smalltext":" \u597921\u5c81\uff0c\u8eba\u5728\u75c5\u5e8a\u4e0a\uff0c\u4e00\u4e2a\u52b2\u5730\u6d41\u6cea\uff1b\u4ed628\u5c81\uff0c\u7ad9\u5728\u75c5\u5e8a\u524d\u76ee\u5149\u5982\u6c34\uff0c\u7d27\u63e1\u7740\u5979\u7684\u624b\u3002\u73b0\u5b9e\u5f88\u6b8b\u9177\uff0c\u4f46\u770b\u7740\u5f7c\u6b64\uff0c\u4ed6\u4eec\u53c8\u90fd\u5145\u6ee1\u4e86\u5e0c\u671b\uff0c\u56e0\u4e3a\u7231\u60c5\uff0c\u7231\u60c5\u771f\u597d\u3002\u201c\u4e0d\u7ba1\u4ee5\u540e\u5728\u4e0d\u5728\u4e00\u8d77\uff0c\u6211\u53ea\u770b\u773c\u524d\uff0c\u6bd5\u7adf\u662f","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3009"};
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 () {
}
});
});
}