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=4745&classid=10&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: 1743764642,
nonceStr: 'nYmigjRaCLOZn7W5',
signature: '11548c3c06821429d4aae52843be0c0f0d0dc3eb',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u590d\u65e6\u5927\u5b66\u9644\u5c5e\u80bf\u7624\u533b\u9662-\u4e5d\u79e9\u6297\u764c\u8def\uff0c\u8d53\u7eed\u65b0\u5f81\u7a0b","smalltext":"1 \u521b\u5efa\u4eba\u6587\u533b\u9662 \u6253\u9020\u4f18\u8d28\u670d\u52a1\uff081\uff09\u5efa\u7acb\u793e\u5de5\u5f15\u9886\u5fd7\u613f\u8005\u670d\u52a1\u6a21\u5f0f\u4f9d\u6258\u4e0a\u6d77\u5e02\u5fd7\u613f\u8005\u534f\u4f1a\u80bf\u7624\u533b\u9662\u5fd7\u613f\u8005\u670d\u52a1\u57fa\u5730\u7684\u5e73\u53f0\u57fa\u7840\uff0c\u533b\u9662\u793e\u5de5\u90e8\u6574\u5408\u9ad8\u6821\u53ca\u793e\u4f1a\u8d44\u6e90\uff0c\u5b8c\u5584\u5fd7\u613f\u8005\u57f9\u8bad\u548c\u7ba1\u7406\u4f53\u7cfb\uff0c\u89c4","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4745"};
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 () {
}
});
});
}