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=6423&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: 1726870575,
nonceStr: 'r69FoEcyR23Igs2U',
signature: 'e8d0f3c8dc36d17b1255349c3cf2aa6a3db2683e',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u91cd\u5e86\u5e02\u4e5d\u9f99\u5761\u533a\u4eba\u6c11\u533b\u9662\uff1a\u5173\u7231\u8001\u4eba\uff0c\u8df5\u884c\u95e8\u8bca\u4eba\u6587","smalltext":"\u4e3a\u5168\u9762\u8d2f\u5f7b\u843d\u5b9e\u515a\u7684\u4e8c\u5341\u5927\u7cbe\u795e\uff0c\u5c06\u5b66\u4e60\u8d2f\u5f7b\u4e60\u8fd1\u5e73\u65b0\u65f6\u4ee3\u4e2d\u56fd\u7279\u8272\u793e\u4f1a\u4e3b\u4e49\u601d\u60f3\u4e3b\u9898\u6559\u80b2\u6210\u679c\u8f6c\u5316\u4e3a\u89e3\u51b3\u4eba\u6c11\u7fa4\u4f17\u770b\u75c5\u5c31\u533b\u6025\u96be\u6101\u76fc\u95ee\u9898\u7684\u5177\u4f53\u4e3e\u63aa\uff0c\u8fdb\u4e00\u6b65\u4f18\u5316\u533b\u7597\u670d\u52a1\uff0c\u63d0\u5347\u60a3\u8005\u4f53\u9a8c","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=6423"};
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 () {
}
});
});
}