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=3853&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: 1746613843,
nonceStr: 'DIrRDkbq0tKURZBW',
signature: '571c2136a8afb653104ca47202d9ac7eca16c381',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u82cf\u5dde\u79d1\u6280\u57ce\u533b\u9662\uff1a\u6587\u827a\u8fdb\u533b\u9662\u201c\u624b\u672f\u5200\u201d\u9047\u4e0a\u4e86\u201c\u7c89\u753b\u7b14\u201d","smalltext":"12\u670810\u65e5\u508d\u665a\uff0c\u82cf\u5dde\u5e02\u516c\u5171\u6587\u5316\u4e2d\u5fc3\u3001\u82cf\u5dde\u79d1\u6280\u57ce\u533b\u9662\u3001\u82cf\u5dde\u5e02\u6b27\u7f8e\u540c\u5b66\u4f1a\u8054\u5408\u4e3e\u529e\u201c\u7c89\u753b\u6c99\u9f99\u201d\u4e3b\u9898\u516c\u76ca\u6d3b\u52a8\uff0c\u7279\u9080\u82cf\u5dde\u5e02\u516c\u5171\u6587\u5316\u4e2d\u5fc3\u00b7\u676d\u9e23\u65f6\u7c89\u753b\u827a\u672f\u9986\u526f\u9986\u957f\u53f6\u84d3\u84d3\uff08\u6bd5\u4e1a\u4e8e\u4fc4\u7f57\u65af","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3853"};
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 () {
}
});
});
}