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=2505&classid=12&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: 1730419409,
nonceStr: 'hr6j5y5JdMuG7QWg',
signature: '97e4729d8828e07dfbe18dfa97183d26268b453e',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6b66\u6c49\u5927\u5b66\u4e2d\u5357\u533b\u9662\u9ad8\u7fd4\uff1a\u4ee5\u594b\u6597\u8005\u7684\u59ff\u6001\uff0c\u5288\u6ce2\u65a9\u6d6a\uff0c\u9010\u68a6\u8fdc\u822a","smalltext":"\u9ad8\u7fd4\uff1a\u6b66\u6c49\u5927\u5b66\u4e2d\u5357\u533b\u9662\u5ba3\u4f20\u90e8\u90e8\u957f\uff0c\u300a\u751f\u95e8\u300b\u5f71\u89c6\u7eaa\u5f55\u7247\u4e3b\u521b\u4eba\u5458\u4e4b\u4e00\uff1b2004\u5e74\u201c\u611f\u52a8\u4e2d\u56fd\u201d\u4eba\u7269\u3001\u4eba\u6c11\u533b\u5b66\u5bb6\u6842\u5e0c\u6069\u6559\u6388\u5178\u578b\u4eba\u7269\u5851\u9020\u8005\uff1b\u6025\u8bca\u526a\u8863\u4e8b\u4ef6\u3001104\u4e07\u533b\u836f\u8d39\u53d1\u7968\u4e8b\u4ef6\u30012018\u5e74","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=2505"};
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 () {
}
});
});
}