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=4859&classid=10&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: 1715945282,
nonceStr: 'l6HoLFhvYcrjwJWG',
signature: 'c02f7cd14b289fccf78eae5a6e84f776c2e0f364',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u76d8\u9526\u8fbd\u6cb9\u5b9d\u77f3\u82b1\u533b\u9662-\u5dfe\u5e3c\u5fd7\u613f\u670d\u52a1\u961f","smalltext":"2020\u5e742\u6708\u521d\u56fd\u5185\u75ab\u60c5\u6700\u4e25\u91cd\u65f6\uff0c\u5168\u9662\u5458\u5de5\u5728\u6b63\u6708\u521d\u4e09\u90fd\u56de\u5230\u5de5\u4f5c\u5c97\u4f4d\uff0c\u53d1\u70ed\u95e8\u8bca\u5efa\u6210\u540e\u4fdd\u5b89\u3001\u4fdd\u6d01\u3001\u5bfc\u8bca\u4eba\u5458\u7f3a\u53e3\u5f88\u5927\uff0c\u5728\u7530\u7428\u4e66\u8bb0\u7684\u63d0\u8bae\u4e0b\uff0c\u9662\u5de5\u4f1a\u5973\u5de5\u59d4\u5458\u4f1a\u7ec4\u7ec7\u9662\u5185\u5973\u804c\u5de5\u62a5\u540d\u5dfe\u5e3c\u5fd7","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4859"};
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 () {
}
});
});
}