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=5559&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: 1715809992,
nonceStr: 'SGgLEumlwPyb9vFb',
signature: 'c468c10634fac9adfb3895754e91ebef7de45a36',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u54b8\u9633\u5e02\u4e2d\u5fc3\u533b\u9662\uff1a\u5916\u79d1\u533b\u751f\u6536\u5230\u5185\u79d1\u60a3\u8005\u7684\u9526\u65d7","smalltext":"\u201c\u5e72\u4e86\u8fd9\u4e48\u591a\u5e74\uff0c\u6ca1\u60f3\u5230\u5916\u79d1\u533b\u751f\u8fd8\u80fd\u6536\u5230\u5185\u79d1\u75c5\u4eba\u7684\u9526\u65d7\uff01\u201d1\u670811\u65e5\uff0c\u56e0\u65b0\u51a0\u75c5\u6bd2\u611f\u67d3\u5728\u54b8\u9633\u5e02\u4e2d\u5fc3\u533b\u9662\u624b\u8db3\u5916\u79d1\u4f4f\u9662\u7684\u5f20\u5927\u7237\u8981\u51fa\u9662\u4e86\uff0c\u4e34\u522b\u4e4b\u9645\u7279\u5730\u5411\u4e3b\u7ba1\u5927\u592b\u5305\u7406\u5fe0\u9001\u6765\u4e00\u9762\u9526\u65d7\u30022","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5559"};
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 () {
}
});
});
}