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=289&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: 1743764479,
nonceStr: 'fntFVJIoCvm68Chj',
signature: '88139366611626e169c89561bf215604ca7cfd3b',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5217\u8f66\u4e0a\u5e7c\u7ae5\u80f3\u818a\u62c9\u8131\u81fc\uff0c\u804a\u57ce\u533b\u751f\u77ac\u65f6\u5999\u624b\u6551\u6cbb","smalltext":"\u804a\u57ce\u5e02\u4e1c\u660c\u5e9c\u4eba\u6c11\u533b\u9662\u666e\u5916\u79d1\u533b\u751f\u738b\u79cb\u5143\u5728\u53bb\u5317\u4eac\u5b66\u4e60\u7684\u5217\u8f66\u9014\u4e2d\uff0c\u9047\u52301\u5c81\u591a\u513f\u7ae5\u6861\u9aa8\u5c0f\u5934\u534a\u8131\u4f4d\uff0c\u633a\u8eab\u800c\u51fa\uff0c1\u5206\u949f\u52a9\u83cf\u6cfd\u5988\u5988\u548c\u5979\u7684\u5b69\u5b50\u89e3\u9664\u75db\u82e6\uff01\u6bcd\u4eb2\u559c\u6781\u800c\u6ce3\uff01","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=289"};
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 () {
}
});
});
}