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=344&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: 1743764379,
nonceStr: 'o8v8PMerMPi5mwTu',
signature: 'f29658eb6b8f070e28231a94857329d2eb094104',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6c5f\u82cf\u7701\u5e38\u5dde\u4e00\u9662\u559c\u83b7\u6c5f\u82cf\u7701\u79d1\u5b66\u6280\u672f\u5956\u4e00\u7b49\u5956\uff0c\u5b9e\u73b0\u5168\u5e02\u536b\u5065\u7cfb\u7edf\u5386\u53f2\u6027\u7a81\u7834\uff01","smalltext":" 5\u670810\u65e5\uff0c\u6c5f\u82cf\u7701\u59d4\u3001\u7701\u653f\u5e9c\u5728\u5357\u4eac\u53ec\u5f00\u7701\u79d1\u5b66\u6280\u672f\u5956\u52b1\u5927\u4f1a\uff0c\u73b0\u573a\u8868\u5f70\u56fd\u5bb6\u79d1\u5b66\u6280\u672f\u5956\u548c\u7701\u79d1\u5b66\u6280\u672f\u5956\u83b7\u5956\u4eba\u5458\u548c\u5355\u4f4d\u3002\u5e38\u5dde\u4e00\u9662\u80bf\u7624\u751f\u7269\u8bca\u7597\u4e2d\u5fc3\u4e3b\u4efb\u848b\u656c\u5ead\u6559\u6388\u56e2\u961f\u7684\u79d1\u7814","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=344"};
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 () {
}
});
});
}