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=1420&classid=3&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: 1743632788,
nonceStr: 'QOg6EfqXmE1ofTFV',
signature: 'a8e4640bddb6adcf534d5557bd5df3d7957d8dab',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201911\/c4adfc34b2bb5499b81055c3483bc32d.jpg","title":"\u59d4\u5458\u4e01\u8273\u5a77\uff1a\u533b\u8def\u524d\u884c\uff0c\u4eba\u6587\u6709\u6211","smalltext":"\u4e01\u8273\u5a77\uff0c\u5357\u660c\u5e02\u6d2a\u90fd\u4e2d\u533b\u9662\u5ba3\u4f20\u79d1\u5e72\u4e8b\u3001\u4e2d\u56fd\u751f\u547d\u5173\u6000\u534f\u4f1a\u4eba\u6587\u4e13\u59d4\u4f1a\u59d4\u5458\u3002\r\n","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=3&id=1420"};
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 () {
}
});
});
}