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=3698&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: 1745119617,
nonceStr: 'yfuN17Xu2jyGUXLS',
signature: 'c4358e7c483954eaa090174c57c4c65bb49d12c4',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6c5f\u6cb9\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662\uff1a\u515a\u652f\u90e8\u4e3b\u9898\u515a\u65e5\u522b\u5f00\u751f\u9762","smalltext":"\u4eca\u5e74\uff0c\u6c5f\u6cb9\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662\u5185\u79d1\u515a\u652f\u90e8\u7d27\u7d27\u56f4\u7ed5\u201c\u54c1\u724c\u793a\u8303\u5e74\u201d\u4e3b\u9898\uff0c\u521b\u65b0\u5b9e\u65bd\u201c\u592f\u5b9e\u515a\u5efa\u57fa\u7840\uff0c\u6253\u9020\u4e66\u9999\u652f\u90e8\u201d\u7684\u515a\u5efa\u54c1\u724c\u5efa\u8bbe\u9879\u76ee\u3002\u7acb\u8db3\u65b0\u65f6\u671f\u516c\u7acb\u533b\u9662\u57fa\u5c42\u515a\u5efa\u5de5\u4f5c\u65b0\u5f62\u52bf\u3001\u65b0\u76ee\u6807\u3001","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3698"};
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 () {
}
});
});
}