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=4517&classid=11&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: 1741754509,
nonceStr: 'gdEWZQOLM5BIv0PU',
signature: 'bb75e6f2c8164af5400f8719be7b51614037fee4',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u868c\u57e0\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662-\u80f8\u75db\u4e2d\u5fc3\u642d\u5efa\u751f\u547d\u201c\u9ad8\u901f\u8def\u201d","smalltext":"\u620f\u5267\u53ef\u4ee5\u5f69\u6392\uff0c\u751f\u547d\u4e0d\u80fd\u91cd\u6765\u3002\u4e16\u754c\u4e0a\u6700\u5e78\u8fd0\u7684\u4e8b\uff0c\u662f\u5f53\u4f60\u751f\u547d\u5371\u6025\u65f6\uff0c\u6709\u4eba\u6551\u4e86\u4f60\uff013\u670825\u65e5\u7684\u4e0a\u5348\uff0c\u868c\u57e0\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662\u80f8\u75db\u4e2d\u5fc3\u7684\u533b\u62a4\u4eba\u5458\u4e89\u5206\u593a\u79d2\uff0c\u7d27\u5bc6\u914d\u5408\uff0c\u5229\u7528\u80f8\u75db\u4e2d\u5fc3\u7eff\u8272\u901a\u9053\uff0c\u642d\u5efa\u751f","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4517"};
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 () {
}
});
});
}