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=3867&classid=7&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: 1743632789,
nonceStr: 'W9mYR07G6lyiNo7n',
signature: 'dd867c7b3dc3beab6f273f7d98598539cda47fde',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202012\/15521184868db78684442d071230ecd8.jpg","title":"2020\u5e74\u533b\u9662\u4eba\u6587\u5efa\u8bbe\u4e13\u59d4\u4f1a\u5de5\u4f5c\u62a5\u544a\uff1a\u8e0f\u5e73\u574e\u5777\u6210\u5927\u9053 \u8df5\u884c\u521d\u5fc3\u518d\u51fa\u53d1","smalltext":"\u73b0\u5728\uff0c\u6211\u4ee3\u8868\u533b\u9662\u4eba\u6587\u4eba\u6587\u5efa\u8bbe\u4e13\u59d4\u4f1a\uff0c\u5411\u5404\u4f4d\u59d4\u5458\u505a\u5728\u7ebf\u8ff0\u804c\u62a5\u544a\uff0c\u63d0\u8bf7\u5927\u5bb6\u5ba1\u8bae\u3002","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=7&id=3867"};
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 () {
}
});
});
}