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=6487&classid=14&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: 1743764640,
nonceStr: 'A18eJBhNC4Nkfxco',
signature: '21d8ab42084805b7662185434890b8154223a55b',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u6025\u8bca\u5ba4\u7684\u6e29\u5ea6","smalltext":"\u6025\u8bca\u5ba4\uff0c\u4e00\u4e2a\u5145\u6ee1\u7d27\u5f20\u4e0e\u672a\u77e5\u7684\u5730\u65b9\uff0c\u5b83\u65e2\u662f\u751f\u547d\u7684\u8d77\u70b9\uff0c\u4e5f\u662f\u751f\u547d\u7684\u7ec8\u70b9\u3002\u5728\u8fd9\u91cc\uff0c\u6bcf\u4e00\u4e2a\u6545\u4e8b\u90fd\u5145\u6ee1\u4e86\u60c5\u611f\u4e0e\u6e29\u5ea6\uff0c\u800c\u6700\u6253\u52a8\u4eba\u5fc3\u7684\uff0c\u5f80\u5f80\u662f\u90a3\u4e9b\u4e0e\u4eba\u6587\u5173\u6000\u7d27\u5bc6\u76f8\u8fde\u7684\u77ac\u95f4\u3002\u90a3\u5929\u665a\u4e0a\uff0c\u6708\u5149\u6d12","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6487"};
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 () {
}
});
});
}