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=4135&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: 1745056177,
nonceStr: 'ryRJLWup46kHlR52',
signature: 'c7295d3e21d7b2c9983a142d417258de610f07a8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5a01\u6d77\u5e02\u7acb\u533b\u9662\uff1a\u68c0\u9a8c\u4eba\u4e5f\u6709\u4e00\u9897\u4e34\u5e8a\u5fc3","smalltext":"\u6709\u8fd9\u6837\u4e00\u4f4d\u68c0\u9a8c\u4eba\uff0c\u4ed6\u5728\u68c0\u9a8c\u533b\u5b66\u7684\u5c97\u4f4d\u4e0a\u9ed8\u9ed8\u8015\u8018\uff0c\u98ce\u98ce\u96e8\u96e8\u4e8c\u5341\u4f59\u8f7d\uff0c\u59cb\u7ec8\u594b\u6218\u5728\u533b\u7597\u536b\u751f\u4e8b\u4e1a\u7684\u7b2c\u4e00\u7ebf\uff0c\u7528\u8d23\u4efb\u4e0e\u62c5\u5f53\uff0c\u5b88\u62a4\u7740\u60a3\u8005\u7684\u5b89\u5eb7\uff0c\u7528\u5fae\u7b11\u8be0\u91ca\u7740\u4e3a\u533b\u4e4b\u4eba\u7684\u65e0\u6094\u4eba\u751f\uff0c\u4ed6\u5c31\u662f\u5a01\u6d77\u5e02\u7acb\u533b\u9662\u68c0\u9a8c\u79d1\u4e3b\u4efb\u8f9b\u6653\u6587\u3002","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4135"};
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 () {
}
});
});
}