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=1761&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: 1715112580,
nonceStr: '1XVUKo6uvUSJ8vV7',
signature: 'e89cc7fd1fc03786b5a0b6d92d2b160724bc3169',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4fe1\u9633\u5e02\u4e2d\u5fc3\u533b\u9662\uff1a\u4ece\u672a\u6539\u53d8\u8fc7\u7684\u6e29\u6696 \u533b\u9662\u7684\u670b\u53cb\u5708\u4f60\u770b\u4e86\u5417","smalltext":" \u8fd9\u5341\u51e0\u5929\u6765\uff0c\u670b\u53cb\u5708\u7684\u4fe1\u606f\u91cf\u8ba9\u6bcf\u4e2a\u4eba\u90fd\u5e94\u63a5\u4e0d\u6687\uff0c\u4e5f\u8ba9\u6211\u4eec\u5bf9\u670b\u53cb\u5708\u8fd9\u4e2a\u7f51\u7edc\u4ea7\u7269\u6709\u4e86\u65b0\u7684\u8ba4\u77e5\u3002\u9762\u5bf9\u7a81\u53d1\u75ab\u60c5\uff0c\u670b\u53cb\u5708\u8ba9\u6211\u4eec\u770b\u5230\u4e86\u5f3a\u5927\u6709\u529b\u7684\u4e2d\u56fd\u529b\u91cf\uff0c\u770b\u5230\u4e86\u4e07\u4f17\u4e00\u5fc3\u7684\u6c11\u65cf\u7cbe","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1761"};
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 () {
}
});
});
}