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=5090&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: 1746209365,
nonceStr: 'woqvTtVSZHidYlZa',
signature: '8062b1ba7033c7c711ea9c9ea6272fdb0464690c',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/d\/file\/p\/202112\/89e2f21abe4f4781664c4e9bd5400473.jpg","title":"2021\u5e74\u5ea6\u4e2d\u56fd\u533b\u9662\u516c\u76ca\u98ce\u4e91\u62a5\u544a\u83b7\u5956\u540d\u5355","smalltext":"\u5728\u5927\u5bb6\u7684\u79ef\u6781\u53c2\u4e0e\u548c\u652f\u6301\u4e0b\uff0c\u6211\u4eec\u7ee72020\u5e74\u5728\u5168\u56fd\u521b\u65b0\u6027\u7684\u5f00\u5c55\u4e2d\u56fd\u533b\u9662\u516c\u76ca\u6307\u6570\u8bc4\u4ef7\u4e4b\u540e\uff0c2021\u5e74\u7ee7\u7eed\u5f00\u5c55\u4e2d\u56fd\u533b\u9662\u516c\u76ca\u6307\u6570\u8bc4\u4ef7\uff08\u5173\u4e8e\u5f81\u96c6\u300a2021\u5e74\u4e2d\u56fd\u533b\u9662\u516c\u76ca\u98ce\u4e91\u62a5\u544a\u300b\u6570\u636e\u7684\u901a\u77e5","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5090"};
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 () {
}
});
});
}