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=6551&classid=14&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: 1746129239,
nonceStr: 'V5omCjaJRcl7tqiD',
signature: '84a4104f29c5bca85c28a66b10003852aae907dc',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u4f60\u517b\u6211\u8001\uff0c\u6211\u517b\u4f60\u5c0f","smalltext":"\u201c\u8210\u728a\u60c5\u6df1\u201d\u3001\u201c\u4e4c\u9e26\u53cd\u54fa\u201d\u3001\u201c\u7f8a\u7f94\u8dea\u4e73\u201d\uff0c\u5343\u767e\u5e74\u4ee5\u6765\u8fd9\u4e9b\u8033\u719f\u80fd\u8be6\u7684\u6545\u4e8b\u4e00\u76f4\u5f71\u54cd\u7740\u5343\u5343\u4e07\u4e07\u7684\u4e2d\u56fd\u4eba\uff0c\u5b5d\u9053\u6587\u5316\u4e5f\u5728\u6f5c\u79fb\u9ed8\u5316\u4e2d\u4ee3\u4ee3\u76f8\u4f20\u3002\u4e00\u4e2a\u5bfb\u5e38\u7684\u65e5\u5b50\uff0c\u6211\u6b63\u5728\u7ed9\u75c5\u4eba\u505a\u6cbb\u7597\uff0c\u5bb6","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6551"};
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 () {
}
});
});
}