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=2351&classid=10&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: 1730418784,
nonceStr: 'APyuAXN3dR21fI5X',
signature: 'c8ace5a1fe5dc2a3986096d8260856e0b213f28e',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e0a\u6d77\u5e02\u540c\u6d4e\u533b\u9662\uff1a\u5174\u6587\u5316\u4e4b\u52bf\uff0c\u884c\u540c\u6d4e\u4e4b\u9053","smalltext":"\u4e0a\u6d77\u5e02\u540c\u6d4e\u533b\u9662\u515a\u653f\u73ed\u5b50\u6df1\u523b\u8ba4\u8bc6\u5230\u73b0\u4ee3\u533b\u9662\u6587\u5316\u4f5c\u4e3a\u201c\u8f6f\u5b9e\u529b\u201d\uff0c\u662f\u533b\u9662\u7efc\u5408\u5b9e\u529b\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\uff0c\u662f\u533b\u9662\u7684\u751f\u5b58\u57fa\u7840\u548c\u7cbe\u795e\u652f\u67f1\u3002\u5728\u524d\u4e0d\u4e45\u53ec\u5f00\u7684\u5168\u56fd\u5ba3\u4f20\u601d\u60f3\u5de5\u4f5c\u4f1a\u8bae\u4e0a\uff0c\u4e60\u8fd1\u5e73\u603b\u4e66","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=2351"};
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 () {
}
});
});
}