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=822&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: 1743632684,
nonceStr: 'fZe9UBb2yWuhyJUW',
signature: '7bd82e70cd60777bb08710a9fab335fd8bd58338',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/ef215ff0ce385fa0832382ed99bee1fc.jpg","title":" \u59d4\u5458\u6731\u4fca\u7433\uff1a\u4e0d\u5fd8\u521d\u5fc3\u52e4\u8015\u8018 \u7518\u4e3a\u4ed6\u4eba\u505a\u5ac1\u8863","smalltext":"\u6731\u4fca\u7433\uff0c\u5973\uff0c\u6c11\u5efa\u4f1a\u5458\uff0c\u4e2d\u5171\u515a\u5458\u3002\u5148\u540e\u5728\u5c71\u897f\u7701\u6c7e\u9633\u533b\u9662\u8d22\u52a1\u79d1\u3001\u515a\u52a1\u5de5\u4f5c\u90e8\u3001\u5ba3\u4f20\u79d1\u5de5\u4f5c\u3002\u73b0\u4efb\u5c71\u897f\u7701\u6c7e\u9633\u533b\u9662\u5ba3\u4f20\u79d1\u3001\u9662\u62a5\u7f16\u8f91\u90e8\u4e3b\u4efb\u3002\u4e2d\u56fd\u751f\u547d\u5173\u6000\u534f\u4f1a\u4eba\u6587\u5efa\u8bbe\u59d4\u5458\u4f1a\u59d4\u5458\uff0c\u5c71\u897f\u7701","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=3&id=822"};
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 () {
}
});
});
}