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=4462&classid=24&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: 1743630922,
nonceStr: 'c2MyOUHDGXeZwK3P',
signature: '3a4c90d98cbb9c2691692c476f139b427fd2a09d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"2020\u5e74\u5168\u56fd\u533b\u9662\u4eba\u6587\u7ba1\u7406\u8def\u6f14\u5927\u8d5b\u51b3\u8d5b\u5706\u6ee1\u529f\u6210\uff0c\u611f\u8c22\u6709\u4f60\uff01","smalltext":"\u6210\u90fd\u5e26\u4e0d\u8d70\u7684\u53ea\u6709\u4f60\uff1a2020\u5e74\u5168\u56fd\u533b\u9662\u4eba\u6587\u7ba1\u7406\u8def\u6f14\u5927\u8d5b\u51b3\u8d5b\u56de\u7738\uff0c\u611f\u8c22\u6709\u4f60\uff01","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=24&id=4462"};
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 () {
}
});
});
}