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=6529&classid=14&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: 1743703341,
nonceStr: 'K7TGpvhRX9eXEctB',
signature: '1c2e424018a937d33886e6c28c3db7f54a3892a8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u6253\u9020\u4eba\u6587\u62a4\u7406\u6587\u5316\uff0c\u8ba9\u62a4\u7406\u670d\u52a1\u66f4\u6709\u6e29\u5ea6","smalltext":"\u62a4\u7406\u6587\u5316\u662f\u5728\u4e00\u5b9a\u7684\u793e\u4f1a\u6587\u5316\u57fa\u7840\u4e0a\u5f62\u6210\u7684\u5177\u6709\u62a4\u7406\u4e13\u4e1a\u81ea\u8eab\u7279\u5f81\u7684\u4e00\u79cd\u7fa4\u4f53\u6587\u5316\u3002\u5b83\u662f\u88ab\u5168\u4f53\u62a4\u7406\u4eba\u5458\u63a5\u53d7\u7684\u4ef7\u503c\u89c2\u5ff5\u548c\u884c\u4e3a\u51c6\u5219\uff0c\u4e5f\u662f\u5168\u4f53\u62a4\u7406\u4eba\u5458\u5728\u5b9e\u8df5\u4e2d\u521b\u9020\u51fa\u6765\u7684\u7269\u8d28\u6210\u679c\u548c","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6529"};
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 () {
}
});
});
}