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=5165&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: 1716109291,
nonceStr: 'u4QgRmIjhph04zdM',
signature: '37f0095240d248ed569724dbde84287af4a1f7d3',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u82cf\u5dde\u79d1\u6280\u57ce\u533b\u9662\uff1a\u5f00\u5c552022\u65b0\u5e74\u732e\u8840\uff08\u9020\u8840\u5e72\u7ec6\u80de\u5fd7\u613f\u8005\u62db\u52df\uff09\u6d3b\u52a8","smalltext":"\u201c\u6211\u6bcf\u5e74\u90fd\u575a\u6301\u53c2\u52a0\u533b\u9662\u7ec4\u7ec7\u7684\u732e\u8840\u6d3b\u52a8\uff0c\u6211\u89c9\u5f97\u732e\u8840\u4e0d\u4ec5\u53ef\u4ee5\u5e2e\u52a9\u522b\u4eba\uff0c\u4e5f\u6709\u52a9\u4e8e\u81ea\u8eab\u8eab\u4f53\u5065\u5eb7\u201d\uff0c\u82cf\u5dde\u79d1\u6280\u57ce\u533b\u9662\u9ebb\u9189\u79d1\u526f\u4e3b\u4efb\u533b\u5e08\u51af\u6d77\u519b\u521a\u4e0b\u591c\u73ed\u5c31\u7b2c\u4e00\u65f6\u95f4\u6765\u5230\u4e86\u732e\u8840\u73b0\u573a\u30022022\u5e74","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5165"};
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 () {
}
});
});
}