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=677&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: 1714655245,
nonceStr: 'KehMH2FL4kZhJJJ0',
signature: '5506a6a2cca4cec12e1a78d5db30419d3367e9c6',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u601d\u8305\u533a\u4eba\u6c11\u533b\u9662:\u4e3e\u884c\u5e86\u795d\u5efa\u515a98\u5468\u5e74\u66a82019\u5e74\u7b2c\u4e8c\u671f\u9053\u5fb7\u8bb2\u5802\u6d3b\u52a8","smalltext":" 2019\u5e74\u662f\u4e2d\u56fd\u5171\u4ea7\u515a\u5efa\u515a98\u5468\u5e74\uff0c\u4e3a\u9686\u91cd\u7eaa\u5ff5\u515a\u7684\u751f\u65e5\uff0c\u4e3e\u884c\u4e86\u601d\u8305\u533a\u4eba\u6c11\u533b\u9662\u5e86\u795d\u5efa\u515a98\u5468\u5e74\u66a82019\u5e74\u7b2c\u4e8c\u671f\u9053\u5fb7\u8bb2\u5802\u6d3b\u52a8\uff0c\u6b64\u6b21\u6d3b\u52a8\u4e3b\u9898\u4e3a\u201c\u56de\u987e\u515a\u53f2\u3001\u6b4c\u9882\u515a\u6069\u3001\u6c38\u8fdc\u8ddf\u515a\u8d70\u201d\u3002\r\n","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=677"};
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 () {
}
});
});
}