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=2911&classid=11&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: 1714701786,
nonceStr: 'f0LOCJ0cKz9XDfjR',
signature: '9f97625b69ac63db07e4689928e386c31a0dc2be',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u9547\u6c5f\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\uff1a\u5341\u4e94\u8f7d\u201c\u5eb7\u590d\u7231\u5fc3\u5de5\u7a0b\u201d\u64e6\u4eae\u533b\u9662\u4eba\u6587\u5e95\u8272","smalltext":"1994\u5e74\uff0c\u9547\u6c5f\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\u5fd7\u613f\u670d\u52a1\u961f\u6210\u7acb\u3002\u4ece\u6b64\uff0c\u533b\u9662\u5fd7\u613f\u8005\u4eec\u7684\u8eab\u5f71\u6d3b\u8dc3\u5728\u9547\u6c5f\u5e7f\u573a\u8857\u5934\u3001\u6821\u4f01\u673a\u5173\u3001\u793e\u533a\u6751\u9547\u7b49\uff0c\u4ed6\u4eec\u5f00\u5c55\u79d1\u666e\u4e49\u8bca\u3001\u9001\u533b\u9001\u836f\u3001\u63f4\u52a9\u5b64\u5be1\u3001\u6276\u8d2b\u52a9\u5b66\u3001\u62a2\u9669\u6551\u707e\u7b49","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=2911"};
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 () {
}
});
});
}