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=6488&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: 1749065500,
nonceStr: 'JQmDkTbALbuBynYm',
signature: 'b4f1ac0aac114227ceeaae32d37b1a77d95bfb3d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u6025\u8bca\u4e4b\u5149","smalltext":"\u5728\u57ce\u5e02\u7684\u55a7\u56a3\u4e4b\u4e2d\uff0c\u6025\u8bca\u79d1\uff0c\u90a3\u9053\u5e0c\u671b\u4e4b\u5149\uff0c\u7167\u4eae\u65e0\u6570\u6050\u60e7\u7684\u5fc3\u7075\uff0c\u5e26\u6765\u751f\u7684\u5e0c\u671b\uff0c\u6b7b\u7684\u9057\u5fd8\u3002\u5fc3\u8df3\u7684\u65cb\u5f8b\uff0c\u6025\u4fc3\u53c8\u614c\u5f20\uff0c\u5899\u58c1\u4e0a\u7684\u949f\uff0c\u79d2\u9488\u4e0d\u505c\u5fd9\u3002\u5bb6\u5c5e\u7684\u6cea\uff0c\u6ed1\u843d\u5728\u8d70\u5eca\uff0c\u7126\u6025\u7684\u7b49\u5f85\uff0c\u672a\u77e5\u7684\u7b54\u6848\u3002\u767d\u8863","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6488"};
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 () {
}
});
});
}