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=644&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: 1714657809,
nonceStr: '2PMdn4N5dUWZnOqI',
signature: 'bec3bceb4e5e27f824dd6e40f6b2f049b7607817',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e2d\u56fd\u533b\u9662EAP\u8054\u76df\uff1a\u542f\u52a8\u201c\u6539\u5584\u533b\u52a1\u4eba\u5458\u804c\u4e1a\u5fc3\u7406\u5065\u5eb7\u201d\u4e09\u5e74\u5173\u7231\u884c\u52a8\u8ba1\u5212","smalltext":"6\u670821\u81f322\u65e5\uff0c\u7531\u590d\u65e6\u5927\u5b66\u9644\u5c5e\u534e\u5c71\u533b\u9662\u3001\u4e2d\u56fd\u533b\u9662EAP\u8054\u76df\u4e3b\u529e\uff0c\u676d\u5dde\u5e08\u8303\u5927\u5b66\u9644\u5c5e\u533b\u9662\u627f\u529e\u7684\u7b2c\u56db\u5c4a\u4e2d\u56fd\u533b\u7597\u536b\u751f\u884c\u4e1aEAP\u8bba\u575b\u66a8\u201c\u65b0\u65f6\u4ee3\u533b\u9662\u4eba\u6587\u5173\u6000\u4e0e\u804c\u5de5\u6ee1\u610f\u5ea6\u63d0\u5347\u6700\u4f73\u5b9e\u8df5\u201d\u5b66","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=644"};
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 () {
}
});
});
}