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=2677&classid=13&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: 1715845227,
nonceStr: 'FQ1iv8SPYSRPL6tV',
signature: '56701ebd6f58f9a154280e19457c7d962d154933',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u9996\u90fd\u513f\u79d1\u7814\u7a76\u6240\u91cd\u75c7\u533b\u5b66\u79d1\uff1a\u4e00\u5207\u4e3a\u4e86\u5b69\u5b50","smalltext":"\u533b\u5b66\u7684\u9996\u8981\u7279\u5f81\u662f\u9ad8\u5ea6\u7684\u4eba\u6587\u6027\uff0c\u533b\u5b66\u4eba\u6587\u7cbe\u795e\u7684\u5851\u9020\u662f\u533b\u9662\u6587\u5316\u7684\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u533b\u5b66\u4eba\u6587\u7cbe\u795e\u5305\u542b\u201c\u4eba\u672c\u201d\u4e0e\u201c\u4ec1\u7231\u201d\u8fd9\u4e24\u4e2a\u4e3b\u8981\u5143\u7d20\u3002\u4ee5\u60a3\u8005\u5065\u5eb7\u4e3a\u6838\u5fc3\u7684\u533b\u60a3\u4e92\u4fe1\u5173\u7cfb\u7684\u5efa\u7acb\uff0c\u662f","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=13&id=2677"};
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 () {
}
});
});
}