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=1831&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: 1714979955,
nonceStr: '2ww6BtjXWjR05bu5',
signature: '164def41d9b95f42db52ae6e8b9bb03d34752f00',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u82cf\u5dde\u79d1\u6280\u57ce\u533b\u9662\uff1a\u82cf\u5dde90\u540e\u7537\u62a4\u62b5\u6c49\u9996\u65e5\u5199\u4e0b\u5165\u515a\u7533\u8bf7\u4e66","smalltext":" 2\u670810\u65e521:00\uff0c\u82cf\u5dde\u79d1\u6280\u57ce\u533b\u9662\u63f4\u9102\u62a4\u58eb\u7a0b\u9759\u5a1f\u3001\u90ed\u632f\u6362\u4e0a\u9632\u62a4\u670d\u8fdb\u5165\u6b66\u6c49\u540c\u6d4e\u533b\u9662\uff08\u5149\u8c37\u9662\u533a\uff09\u75c5\u623f\u5f00\u59cb\u4e0a\u5c97\u5de5\u4f5c\u30029\u65e5\u591c\u91cc\uff0c\u90ed\u632f\u5728\u62b5\u8fbe\u6b66\u6c49\u7684\u7b2c\u4e00\u65f6\u95f4\uff0c\u5199\u4e0b\u4e86\u8fd9\u5c01\u5165\u515a\u7533\u8bf7\u4e66:\u201c\u5f53","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1831"};
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 () {
}
});
});
}