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=2949&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: 1715214488,
nonceStr: '9Rwh0I2woDN8xjHh',
signature: 'e14d537311f211d41db389a6d491936cb389fdfa',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u56db\u5ddd\u7701\u79d1\u5b66\u57ce\u533b\u9662\uff1a\u4e0d\u523010\u5206\u949f\uff0c\u5de7\u624b\u533b\u751f\u53d6\u51fa\u98df\u9053\u7684\u9e2d\u9aa8\u5934","smalltext":"\u201c\u98df\u9053\u91cc \u2018\u957f\u2019\u8fd9\u4e48\u5927\u7684\u9e2d\u9aa8\u5934\uff0c\u6211\u8fd8\u662f\u5934\u4e00\u6b21\u89c1\u201d\uff0c\u56db\u5ddd\u7701\u79d1\u5b66\u57ce\u533b\u9662\u6d88\u5316\u5185\u79d1\u8c22\u6c76\u752b\u4f4f\u9662\u533b\u5e08\u4ecb\u7ecd\u8bf4\u3002\u8fd1\u65e5\uff0c 57\u5c81\u7684\u4f55\u5148\u751f\u98df\u9053\u5361\u5165\u4e00\u679a\u5de8\u578b\u8774\u8776\u72b6\u9e2d\u9aa8\u5934\uff0c\u5bfc\u81f4\u98df\u9053\u7a7f\u5b54\uff0c\u751a\u81f3\u5dee\u70b9\u6233\u7a7f","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=2949"};
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 () {
}
});
});
}