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=5191&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: 1725756214,
nonceStr: 'X4Vo1wmDwbekiW1r',
signature: '06210bc5a5ab96c4fa73300759053c3dd420df82',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6c5f\u6cb9\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662\uff1a\u5927\u5bb6\u6b63\u8fc7\u5e74\uff0c\u4ed6\u4eec\u5728\u6551\u4eba","smalltext":"2\u67084\u65e5\uff0c\u6b63\u6708\u521d\u56db\uff0c\u665a\u4e0a9\u70b9\u5de6\u53f3\uff0c\u6b63\u5728\u966a\u4f34\u5bb6\u4eba\u7684\u6c5f\u6cb9\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662\u53e3\u8154\u79d1\u526f\u4e3b\u4efb\u5f20\u8385\u743c\u63a5\u5230\u6025\u8bca\u79d1\u6253\u6765\u7684\u7535\u8bdd\uff1a\u201c120\u9001\u6765\u4e00\u4f4d\u4e0b\u988c\u90e8\u7535\u952f\u5916\u4f24\u60a3\u8005\uff0c\u6765\u9662\u4e4b\u524d\u51fa\u8840\u5df2\u56db\u4e2a\u591a\u5c0f\u65f6\uff0c\u60c5\u51b5\u5f88\u4e25\u91cd","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5191"};
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 () {
}
});
});
}