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=3507&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: 1745119617,
nonceStr: 'vxJFuaP10nlVBHxq',
signature: '5fa103a178723da2a7431d601d6b9898288160e3',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u95fd\u4e1c\u533b\u9662\uff1a\u4e0e\u75c5\u6bd2\u8fd1\u8ddd\u79bb\u201c\u5bf9\u5cd9\u201d\u7684\u201c\u730e\u51a0\u7cbe\u82f1\u201d","smalltext":"\u3000\u3000\u4f17\u6240\u5468\u77e5\uff0c\u6838\u9178\u68c0\u6d4b\u5728\u65b0\u51a0\u80ba\u708e\u8bca\u65ad\u8fc7\u7a0b\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002\u95fd\u4e1c\u533b\u9662\u533b\u5b66\u68c0\u9a8c\u79d1\u68c0\u9a8c\u4eba\u5458\uff0c\u662f\u76f4\u63a5\u4e0e\u75c5\u6bd2\u8fd1\u8ddd\u79bb\u201c\u5bf9\u5cd9\u201d\u7684\u201c\u730e\u51a0\u7cbe\u82f1\u201d\u3002\u622a\u6b62\u76ee\u524d\uff0c\u65b0\u51a0\u80ba\u708e\u6838\u9178\u68c0\u6d4b\u91cf\u5df2\u8d85\u8fc72500","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=3507"};
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 () {
}
});
});
}