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=3720&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: 1745119996,
nonceStr: '1FtDrvHqJPDLFx0n',
signature: 'a81a859868f3854db600a4c202a106abbb09f9c8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u56db\u5ddd\u5927\u5b66\u534e\u897f\u533b\u9662:\u201c\u534e\u897f\u4e4b\u7f8e\u201d\u670d\u88c5\u79c0\u5c55\u8d3a\u4f73\u8282","smalltext":"\u201c\u6709\u670d\u7ae0\u4e4b\u7f8e\u8c13\u4e4b\u534e\uff0c\u6709\u793c\u4eea\u4e4b\u5927\u8c13\u4e4b\u590f\u3002\u201d\u6c49\u670d\u662f\u4e2d\u534e\u6c11\u65cf\u6587\u5316\u4f20\u627f\u7684\u91cd\u8981\u8f7d\u4f53\uff0c\u5b83\u534e\u7f8e\u5e84\u91cd\uff0c\u8574\u542b\u7740\u4e30\u5bcc\u7684\u6587\u5316\u5185\u6db5\u3002\u534e\u897f\u575d\u540d\u626c\u4e2d\u5916\uff0c\u6f6e\u6d41\u5f15\u9886\u3002\u9ec9\u95e8\u8857\u3001\u56fd\u5b66\u5df7\u66f4\u662f\u6587\u5316\u5e95\u8574\u6df1\u539a\uff0c\u5386\u53f2","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3720"};
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 () {
}
});
});
}