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=3021&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: 1714905275,
nonceStr: 'E6wdBOkOoEHZuwAX',
signature: 'af2547fe102ff738e75c05d3d3b2f57cfa7270cc',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6566\u5316\u5e02\u533b\u9662\uff1a\u6218\u75ab\u4e00\u7ebf\u611f\u609f\uff0c\u56e0\u4e3a\u88ab\u9700\u8981\uff0c\u6240\u4ee5\u52c7\u5f80\u76f4\u524d","smalltext":"\u4eca\u65e5\u662f\u6211\u5de5\u4f5c\u7684\u7b2c\u4e09\u5929\uff0c\u7531\u4e8e\u6628\u5929\u53bb\u957f\u6625\u5b66\u4e60\u9f3b\u62ed\u5b50\u91c7\u96c6\uff0c\u56de\u6765\u65f6\u5df2\u7ecf\u662f\u665a\u4e0a22\uff1a35\u5206\uff0c\u4e8e\u662f\u7761\u4e86\u4e00\u4e2a\u8e0f\u5b9e\u7684\u61d2\u89c9\uff0c\u4eca\u65e9\u9192\u6765\u65f6\u770b\u7740\u7a97\u5916\u7684\u9633\u5149\uff0c\u683c\u5916\u8000\u773c\u3002\u6211\u4eec\u4eca\u65e5\u5de5\u4f5c\u65f6\u95f4\u662f\u4e0b\u534814\uff1a50\u5206\uff0c\u548c\u5f80\u5e38","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3021"};
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 () {
}
});
});
}