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=4041&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: 1749324699,
nonceStr: 'KC45Jia9qKyAdTAY',
signature: '13d8bfc429485cb181aedb05a88076dd98b0c8f0',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6fa7\u53bf\u4e2d\u533b\u533b\u9662:\u4e00\u5bb6\u4e09\u53e3\u7684\u9664\u5915","smalltext":"\u201c\u7206\u7af9\u58f0\u4e2d\u4e00\u5c81\u9664\uff0c\u6625\u98ce\u9001\u6696\u5165\u5c60\u82cf\u3002\u201d\u5728\u8fd9\u4e3e\u56fd\u6b22\u5e86\u3001\u5171\u5ea6\u65b0\u6625\u4f73\u8282\u4e4b\u9645\uff0c\u6709\u90a3\u4e48\u4e00\u7fa4\u4eba\uff0c\u575a\u5b88\u5c97\u4f4d\u3001\u9ed8\u9ed8\u5949\u732e\uff0c\u4ed6\u4eec\u662f\u6700\u53ef\u7231\u7684\u4eba\uff0c\u5728\u8fd9\u91cc\u8bb2\u8ff0\u7740\u81ea\u5df1\u7684\u201c\u8fc7\u5e74\u201d\u6545\u4e8b\u3002\u6731\u5a77\u5a77\u662f\u6fa7\u53bf\u4e2d\u533b\u533b","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4041"};
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 () {
}
});
});
}