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=3562&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: 1714995577,
nonceStr: '7GLAffOHPjj0eetx',
signature: '83e0e64efbbd30806427a51148f426da8b73489c',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e94\u57ce\u5e02\u4eba\u6c11\u533b\u9662\uff1a\u4e00\u671d\u5168\u9acb\u7f6e\u6362 \u544a\u522b\u4e03\u5e74\u6b65\u5c65\u8e52\u8dda","smalltext":"\u201c\u6211\u7684\u53cc\u817f\u95f4\u6b47\u6027\u7684\u75bc\u75db\u4e03\u5e74\u4e86\uff0c\u591a\u5904\u5c31\u533b\uff0c\u4e5f\u5403\u4e86\u5f88\u591a\u836f\uff0c\u7a0d\u5fae\u7f13\u89e3\u4e00\u4e0b\uff0c\u6ca1\u591a\u4e45\u53c8\u75bc\u4e86\uff0c\u6709\u65f6\u75bc\u7684\u665a\u4e0a\u7761\u4e0d\u7740\uff0c\u4e0d\u80fd\u7ad9\u7acb\u4e86\uff0c\u5b9e\u5728\u592a\u714e\u71ac\u4e86\uff0c\u6ca1\u6709\u60f3\u5230\u6765\u4eba\u6c11\u533b\u9662\u624b\u672f\u4e00\u505a\uff0c\u9a6c\u4e0a\u5c31\u53ef\u4ee5\u4e0b\u5e8a\u6d3b\u52a8\u81ea\u5982","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3562"};
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 () {
}
});
});
}