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=3242&classid=5&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: 1714389574,
nonceStr: 'osnNfvGImV4ZnbsG',
signature: '4b90d77487da240d5a8463264b5dec6fef9d94fb',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/202005\/f1fdf8bc29640f757fc50b8cb6cf33a0.jpg","title":"\u90a2\u53f0\u5e02\u7b2c\u4e94\u533b\u9662\uff1a\u8ba9\u767d\u8863\u5929\u4f7f\u66f4\u7f8e\u4e3d","smalltext":"\u201c\u5728\u652f\u63f4\u6b66\u6c49\u6297\u2018\u75ab\u2019\u671f\u95f4\uff0c\u4f60\u672a\u5b8c\u6210\u7684\u5fc3\u613f\u662f\u4ec0\u4e48\uff1f\u201d\u201c\u5e0c\u671b\u6211\u4eec\u6240\u6709\u7684\u62a4\u58eb\u59d0\u59b9\u66f4\u7f8e\u4e3d\u3002\u201d \u803f\u857e\u8131\u53e3\u800c\u51fa\u3002\u201c\u5929\u4f7f\u6539\u9020\u8ba1\u5212\u201d\uff0c\u662f\u803f\u857e\u7684\u5fc3\u613f\u30025\u67089\u65e5\uff0c\u4e3a\u52a9\u529b\u803f\u857e\u5b8c\u6210\u5fc3\u613f\uff0c\u90a2\u53f0\u5e02\u7b2c\u4e94","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3242"};
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 () {
}
});
});
}