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=605&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: 1746314188,
nonceStr: 'ZXOGS9Q12yEwXfMR',
signature: '4f8d3ab899943f7ffabe9b2cefeec1522519be48',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e38\u5dde\u4e00\u9662\uff1a\u5988\u5988\uff0c\u6211\u9519\u4e86\u2026\u2026\u4ece\u533b11\u5e74\u7684\u6025\u8bca\u533b\u751f\u542c\u5b8c\u5973\u513f\u7684\u4e00\u756a\u8bdd\uff0c\u6cea\u76ee\uff01","smalltext":"\u201c\u5988\u5988\uff0c\u6211\u9519\u4e86\u2026\u2026\u201d\u56de\u5bb6\u8def\u4e0a7\u5c81\u5973\u513f\u4f9d\u4f9d\u7684\u4e00\u756a\u8bdd\u4ee4\u4ece\u533b11\u5e74\u7684\u6025\u8bca\u533b\u751f\u4e0d\u7981\u6cea\u76ee\u7a76\u7adf\u53d1\u751f\u4e86\u4ec0\u4e48\u8ba9\u6211\u4eec\u5c06\u65f6\u95f4\u62c9\u56de\u52305\u670831\u65e5\u8fdf\u6765\u7684\u7ea6\u5b9a\u201c\u5988\u5988\uff0c\u6211\u4eec\u5feb\u8d70\u5427\uff01\u201d\u60f3\u5230\u4eca\u665a\u5988\u5988\u7b54\u5e94\u8981\u5e26","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=605"};
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 () {
}
});
});
}