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=4851&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: 1744317973,
nonceStr: 'MKBiFhcEnNziMiUj',
signature: '9c7abe0744f9aec2362120429845b8bc8c945244',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6c5f\u897f\u7701\u513f\u7ae5\u533b\u9662\uff1a\u5343\u9524\u767e\u70bc\u53ea\u4e3a\u4e07\u65e0\u4e00\u5931\u2014\u2014\u513f\u79d1\u533b\u751f\u5341\u5e74\u624b\u7ed8\u7b14\u8bb0","smalltext":"\u5f62\u8c61\u751f\u52a8\u7684\u5fc3\u810f\u89e3\u5256\u56fe\u50cf\u3001\u65e0\u6570\u4e2a\u75c5\u4f8b\u7684\u56fe\u6587\u8bb0\u5f55\u3001\u4e25\u8c28\u8be6\u5b9e\u7684\u75c5\u4f8b\u5206\u6790......\u8fd9\u662f\u4e00\u4f4d\u5fc3\u810f\u5f69\u8d85\u533b\u751f\u7684\u5b66\u4e60\u7b14\u8bb0\u3002\u5f88\u96be\u60f3\u8c61\u8fd9\u662f\u4ed6\u4e00\u76f4\u575a\u6301\u7684\u5341\u5e74\u7684\u4e60\u60ef\uff0c\u8ba9\u540c\u4e8b\u90fd\u4e3a\u4e4b\u4f69\u670d\u3002\u4ed6\u5c31\u662f","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4851"};
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 () {
}
});
});
}