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=4258&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: 1744971791,
nonceStr: '84uh8xGtoPKsjWaz',
signature: '48daae31db2bd71613f056f766277d2b8df1ecc8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u666e\u6d31\u5e02\u601d\u8305\u533a\u4eba\u6c11\u533b\u9662\uff1a\u6df1\u591c\u6025\u8bca\u5ba4\u6709\u54ea\u4e9b\u6545\u4e8b\uff1f","smalltext":"\u51cc\u6668\uff0c\u5f88\u591a\u4eba\u7ed3\u675f\u4e86\u4e00\u5929\u7684\u5fd9\u788c\uff0c\u8fdb\u5165\u68a6\u4e61\u3002\u800c\u6025\u8bca\u79d1\u7684\u533b\u52a1\u4eba\u5458\uff0c\u53c8\u8fdb\u5165\u4e86\u4e00\u4e2a\u65b0\u7684\u5de5\u4f5c\u65e5\u3002 \u4eca\u5929\uff0c\u8ba9\u6211\u4eec\u5c06\u955c\u5934\u5bf9\u51c6\u6025\u8bca\u79d1\uff0c\u8d70\u8fdb\u6025\u8bca\u79d1\u533b\u751f\u65b9\u5b81\u7684\u51cc\u6668\u5de5\u4f5c\u4e8c\u4e09\u4e8b\uff0c\u611f\u53d7\u6025\u8bca\u4eba\u7684\u9178\u751c\u82e6\u8fa3","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4258"};
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 () {
}
});
});
}