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=4803&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: 1744317794,
nonceStr: 'afkjycwL9EdgCoW9',
signature: '567813667f8b740d5a6ab889a68ca4609e06dec8',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6566\u5316\u5e02\u4e2d\u533b\u9662\uff1a\u9aa8\u4f24\u79d1\u75c5\u623f\u91cc\u7684\u201c\u95fa\u5973\u201d","smalltext":"\u6566\u5316\u5e02\u4e2d\u533b\u9662\u9aa8\u4f24\u79d1\u5728\u62a4\u58eb\u957f\u7684\u5e26\u9886\u4e0b\uff0c\u79c9\u627f\u4ee5\u60a3\u8005\u9700\u6c42\u4e3a\u5df1\u4efb\u7684\u670d\u52a1\u7406\u5ff5\uff0c\u4e0d\u65ad\u63d0\u5347\u533b\u7597\u670d\u52a1\u6280\u672f\uff0c\u5f3a\u5316\u7ec6\u8282\u5316\u670d\u52a1\u60a3\u8005\uff0c\u88ab\u75c5\u623f\u91cc\u7684\u8001\u4eba\u5bb6\u4eb2\u5207\u7684\u6210\u4e3a\u201c\u95fa\u5973\u201d","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4803"};
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 () {
}
});
});
}