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=120&classid=9&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: 1714395566,
nonceStr: 'oQ67Xw7Um7UuM1Hb',
signature: '1ed1297b04cca2c9793fc77ef7f5bd7a469bfd59',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u5b66\u4eba\u6587\uff0c\u5b9e\u9645\u5c31\u662f\u505a\u7b80\u5355\u7684\u4e8b","smalltext":" \u8bf4\u5230\u533b\u5b66\u4eba\u6587\uff0c\u5927\u5bb6\u975e\u5e38\u81ea\u7136\u5730\u60f3\u5230\u7231\u3001\u5173\u6000\u3001\u6e29\u6696\u7b49\u7b49\u8bcd\u8bed\u3002\u56fa\u7136\uff0c\u975e\u5178\u65f6\u5fd8\u5374\u81ea\u8eab\u7684\u5b88\u62a4\uff0c\u5730\u9707\u65f6\u4e0d\u987e\u751f\u6b7b\u7684\u9006\u884c\uff0c\u662f\u611f\u5929\u52a8\u5730\u7684\u5927\u7231\u65e0\u79c1\u3002\u4f46\u662f\uff0c\u5728\u6211\u4eec\u5e73\u65f6\u7684\u65e5\u5e38\u5de5\u4f5c\u4e2d\uff0c\u90a3\u4e9b\u8ba9\u4eba\u5370\u8c61","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=9&id=120"};
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 () {
}
});
});
}