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=336&classid=4&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: 1716146098,
nonceStr: '9kpJtuzJDVG7rl2u',
signature: 'e4a3f9afcc55ad27b639617b46dfff5a7bb38d8f',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5973\u6027\u4e73\u817a\u764c\u75c5\u53cb\u7684\u89c6\u89d2:\u7231\u00b7\u5e0c\u671b\u00b7\u4f59\u751f\u00b7\u4e0d\u8d1f\u597d\u65f6\u5149","smalltext":"\u672c\u6587\u4ece\u4e00\u4e2a\u5973\u6027\u4e73\u817a\u764c\u75c5\u53cb\u7684\u89c6\u89d2\uff0c\u5448\u73b0\u4e86\u5176\u9762\u5bf9\u6076\u6027\u80bf\u7624\u7684\u5fc3\u8def\u5386\u7a0b\u53d8\u5316\uff0c\u6700\u7ec8\u79ef\u6781\u9762\u5bf9\u3001\u63a5\u53d7\u3001\u62e5\u62b1\u65b0\u7684\u751f\u6d3b\u3002\r\n\u8c28\u4ee5\u6b64\u6587\u732e\u7ed9\u5973\u6027\u4e73\u817a\u764c\u75c5\u53cb\uff0c\u5e0c\u671b\u5927\u5bb6\u90fd\u80fd\u591f\u79d1\u5b66\u5730\u5bf9\u5f85\u4e73\u817a\u75c5\u3001\u4e73\u817a\u80bf\u7624\uff0c\u57f9\u517b\u5065\u5eb7\u4e73\u817a\u7684\u610f\u8bc6\uff0c\u6d88\u9664\u5bf9\u672a\u77e5\u7684\u6050\u60e7\uff0c\u4ee5\u66f4\u52a0\u4ece\u5bb9\u5766\u7136\u7684\u5fc3\u6001\u6295\u5165\u751f\u6d3b\u4e0e\u5de5\u4f5c\u3002","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=336"};
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 () {
}
});
});
}