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=4870&classid=12&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: 1715737138,
nonceStr: 'D48Ku8xRNtfXeoix',
signature: 'cf532da207945d304a5c11939a3b66dd48485f3d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e7f\u5dde\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u7b2c\u4e09\u533b\u9662-\u515a\u59d4\u4e66\u8bb0\u82cf\u5e7f\u6b66","smalltext":"\u5e7f\u5dde\u533b\u79d1\u5927\u5b66\u9644\u5c5e\u7b2c\u4e09\u533b\u9662\uff08\u53c8\u540d\u201c\u67d4\u6d4e\u533b\u9662\u201d\uff0c\u4e0b\u79f0\u201c\u5e7f\u533b\u4e09\u9662\u201d\uff09\uff0c\u4f5c\u4e3a\u4e00\u6240\u62e5\u6709120\u4f59\u5e74\u60a0\u4e45\u5386\u53f2\u7684\u767e\u5e74\u533b\u9662\uff0c\u533b\u9662\u515a\u59d4\u575a\u6301\u201c\u6587\u5316\u5efa\u9662\u201d\u7684\u53d1\u5c55\u7406\u5ff5\uff0c\u4ee5\u201c\u767e\u5e74\u67d4\u6d4e\u201d\u5e95\u8574\u6df1\u539a\u7684\u5386\u53f2\u4e3a\u6c83","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=4870"};
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 () {
}
});
});
}