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=4058&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: 1745056693,
nonceStr: 'JScgfkhvaVsCDzS3',
signature: '6a5ec77578a8b7e7d48fb3e7cc0bd0e52f218093',
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\u200b\u201c\u8fd9\u4efd\u65b0\u5e74\u793c\u7269\uff0c\u8bf7\u60a8\u6084\u6084\u9000\u6389\uff01\u201d","smalltext":" \u60a3\u8005\u611f\u6fc0\u62a4\u58eb\u7684\u7cbe\u5fc3\u7167\u62a4\uff0c\u4ece\u7f51\u4e0a\u8d2d\u4e70\u65b0\u5e74\u793c\u7269\u8868\u793a\u611f\u8c22\uff1b\u4e3a\u8ba9\u60a3\u8005\u5b89\u5fc3\uff0c\u62a4\u58eb\u6536\u4e0b\u793c\u7269\u8f6c\u7ed9\u5bb6\u5c5e\u3002\u201c\u7239\u7239\uff0c\u8fd9\u4efd\u793c\u7269\u6211\u4e0d\u80fd\u6536\uff0c\u738b\u59d0\uff08\u5316\u540d\uff09\u7684\u5fc3\u610f\u6211\u61c2\uff0c\u6211\u5fc3\u9886\u4e86\uff0c\u4f46\u4e0d\u80fd\u8ba9\u60a8\u7834\u8d39\uff0c\u5e0c\u671b\u60a8\u6084","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4058"};
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 () {
}
});
});
}