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=3202&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: 1745151181,
nonceStr: 'pFtnhfQ59slrpOl3',
signature: '0dfb0e440681b45623e7309698d6b0fcbc43a94f',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6e56\u5317\u7701\u4e2d\u5c71\u533b\u9662\uff1a\u4e00\u5750\u6570\u5c0f\u65f6 \u8001\u5e08\u7f51\u8bfe\u4e0a\u5f97\u8170\u817f\u75db\u96be\u5fcd","smalltext":" \u6570\u6708\u75ab\u60c5\u8db3\u4e0d\u51fa\u6237\uff0c\u5b66\u5b50\u5bb6\u4e2d\u4e0a\u7f51\u8bfe\u3002\u8fd1\u65e5\uff0c\u6e56\u5317\u7701\u7b2c\u4e09\u4eba\u6c11\u533b\u9662\uff08\u7701\u4e2d\u5c71\u533b\u9662\uff09\u75bc\u75db\u79d1\u63a5\u8bca\u4e86\u4e00\u4f4d\u8170\u817f\u75bc\u75db\u96be\u5fcd\u7684\u8001\u5e08\uff0c\u4e00\u95ee\u624d\u77e5\u9053\uff0c\u51e0\u4e2a\u6708\u6765\uff0c\u6bcf\u5929\u51e0\u4e2a\u5c0f\u65f6\u7684\u7f51\u8bfe\u4f7f\u4ed6\u591a\u5e74\u7684\u8170\u75bc\u201c\u96ea\u4e0a\u52a0","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3202"};
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 () {
}
});
});
}