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=5161&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: 1725754217,
nonceStr: 'qPTuw5o8vn15v0gC',
signature: '880989c7157b5f6af032f46a4d950fd0554471d3',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u82cf\u5dde\u79d1\u6280\u57ce\u533b\u9662\uff1a\u5386\u7ecf15\u6b21\u653e\u7597\uff0c3\u5c81\u201c\u5c0f\u6218\u58eb\u201d\u62ff\u5230\u6696\u5fc3\u5956\u72b6","smalltext":"\u65e5\u524d\uff0c\u82cf\u5dde\u79d1\u6280\u57ce\u533b\u9662\u653e\u7597\u79d1\u75c5\u623f\u91cc\uff0c\u4e3e\u884c\u4e86\u4e00\u573a\u7b80\u5355\u53c8\u9686\u91cd\u7684\u201c\u9881\u5956\u4eea\u5f0f\u201d\u2014\u2014\u653e\u7597\u79d1\u533b\u62a4\u4eba\u5458\u4e00\u8d77\u4e3a\u75c5\u623f\u91cc\u5e74\u4ec53\u5c81\u7684\u5c0f\u679c\u51bb\uff08\u5316\u540d\uff09\uff0c\u6388\u4e88\u4e86\u201c\u751f\u547d\u5c0f\u6218\u58eb\u201d\u79f0\u53f7\u3002\u5c0f\u679c\u51bb\u63a5\u8fc7\u5956\u72b6\uff0c\u5f00\u5fc3\u53c8","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5161"};
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 () {
}
});
});
}