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=6560&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: 1730418385,
nonceStr: 'PRUS1MTjTlpiYWuM',
signature: '6a1dc57a324075f9372ace8d29cc9e8c6a7d4f4d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u533b\u60a3\u547d\u8fd0\u5171\u540c\u4f53\u7684\u4eba\u6587\u7acb\u610f\u4e0e\u5efa\u8bbe\u8def\u5f84","smalltext":"\u3010\u6458 \u8981\u3011\u533b\u60a3\u547d\u8fd0\u5171\u540c\u4f53\u662f\u65b0\u65f6\u4ee3\u4e2d\u56fd\u7279\u8272\u793e\u4f1a\u4e3b\u4e49\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\uff0c\u662f\u533b\u60a3\u5173\u7cfb\u4ece\u5bf9\u7acb\u8d70\u5411\u878d\u5408\u7684\u5fc5\u7136\u7ed3\u679c\u3002\u533b\u60a3\u547d\u8fd0\u5171\u540c\u4f53\u662f\u6307\u5728\u533b\u7597\u6d3b\u52a8\u4e2d\uff0c\u60a3\u8005\u548c\u533b\u751f\u53cc\u65b9\u76f8\u4e92\u5c0a\u91cd\u3001\u76f8\u4e92\u4fe1\u4efb","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6560"};
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 () {
}
});
});
}