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=4209&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: 1744975621,
nonceStr: 'Cr3HLj0GHKES9bdr',
signature: 'b7c206ed2e478247d94a78ed7ebf6c9583d38926',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u51e4\u51f0\u53f0\u533b\u9662\uff1a\u805a\u529b\u878d\u5408\u4fc3\u53d1\u5c55\uff0c\u51e4\u51f0\u53f0\u4e2d\u533b\u8054\u76df\u542f\u52a8","smalltext":"2021\u5e74\u662f\u201c\u5341\u56db\u4e94\u201d\u89c4\u5212\u5f00\u5c40\u4e4b\u5e74\uff0c\u662f\u829d\u7f58\u533a\u536b\u5065\u7cfb\u7edf\u7684\u201c\u653b\u575a\u843d\u5b9e\u5e74\u201d\u3002\u4e3a\u8d2f\u5f7b\u843d\u5b9e\u829d\u7f58\u533a\u536b\u5065\u5c40\u300a\u829d\u7f58\u533a\u4e2d\u533b\u8054\u76df\u65b9\u6848\u300b\u6587\u4ef6\u7cbe\u795e\uff0c\u8fdb\u4e00\u6b65\u63d0\u5347\u57fa\u5c42\u4e2d\u533b\u836f\u670d\u52a1\u80fd\u529b\uff0c\u6ee1\u8db3\u4eba\u6c11\u7fa4\u4f17\u4e2d\u533b","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4209"};
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 () {
}
});
});
}