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=6702&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: 1715942648,
nonceStr: 'gfxRmeABPh3eMUL8',
signature: 'b2f67d38895fc687528ee58fca2eac7aa1caf3ad',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u4ee5\u4eba\u4e3a\u672c\uff0c\u62a4\u60a3\u5171\u60c5","smalltext":"\u5728\u533b\u9662\u5de5\u4f5c\u7684\u6bcf\u4e00\u5929\uff0c\u6211\u4eec\u90fd\u4f1a\u9047\u5230\u5404\u79cd\u5404\u6837\u7684\u60a3\u8005\uff0c\u6bcf\u4e2a\u60a3\u8005\u90fd\u6709\u81ea\u5df1\u7684\u6545\u4e8b\u548c\u9700\u6c42\u3002\u6bcf\u5f53\u8fd9\u65f6\uff0c\u533b\u9662\u7684\u4eba\u6587\u7ba1\u7406\u5c31\u4f53\u73b0\u51fa\u4e86\u5bf9\u60a3\u8005\u7684\u5173\u6000\u548c\u5c0a\u91cd\uff0c\u901a\u8fc7\u5c0a\u91cd\u60a3\u8005\u3001\u7ed9\u4e0e\u60a3\u8005\u53c2\u4e0e\u548c\u51b3\u7b56\u6743\u3001","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6702"};
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 () {
}
});
});
}