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=5421&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: 1715744073,
nonceStr: 'eIhVMUxsoHyDwoQY',
signature: 'a407b01cda32cb95fee1d78cb7c77b3396404af0',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e38\u5fb7\u5e02\u7b2c\u56db\u4eba\u6c11\u533b\u9662\uff1a\u60c5\u6696\u8398\u8398\u5b66\u5b50\uff0c\u533b\u9662\u4e3e\u884c\u91d1\u79cb\u52a9\u5b66\u5ea7\u8c08\u4f1a","smalltext":"\u5341\u5e74\u5bd2\u7a97\uff0c\u91d1\u699c\u9898\u540d\uff0c\u91d1\u79cb\u52a9\u5b66\uff0c\u6210\u5c31\u68a6\u60f3\u30028\u670815\u65e5\u4e0b\u5348\uff0c\u5e38\u5fb7\u5e02\u7b2c\u56db\u4eba\u6c11\u533b\u9662\u4e3e\u884c\u91d1\u79cb\u52a9\u5b66\u5ea7\u8c08\u4f1a\uff0c\u5bf9\u4eca\u5e74\u9ad8\u8003\u4e2d\u88ab\u9ad8\u6821\u5f55\u53d6\u768413\u540d\u804c\u5de5\u5b50\u5973\u53d1\u653e\u4e86\u201c\u91d1\u79cb\u52a9\u5b66\u201d\u52a9\u5b66\u91d1\uff0c\u8ba9\u4ed6\u4eec\u5e26\u7740\u6109\u60a6\u7684\u5fc3","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5421"};
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 () {
}
});
});
}