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=6648&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: 1743703327,
nonceStr: 'KqOmfxIkHVBdnyOd',
signature: 'b568474836f466fe7963a3dfb3984fe735fedf90',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u96f6\u8ddd\u79bb\u611f\u53d7 \u8ba9\u60a8\u66f4\u61c2\u201c\u533b\u201d","smalltext":"\u8fd1\u5e74\u6765\uff0c\u4e0a\u6d77\u5e02\u666e\u9640\u533a\u4e2d\u5fc3\u533b\u9662\u56f4\u7ed5\u6253\u9020\u201c\u5fc3\u5fc3\u76f8\u5370\u201d\u515a\u5efa\u54c1\u724c\uff0c\u521b\u65b0\u6d3b\u52a8\u8f7d\u4f53\uff0c\u5f00\u5c55\u201c\u96f6\u8ddd\u79bb\u611f\u53d7 \u8ba9\u60a8\u66f4\u61c2\u2018\u533b\u2019\u201d\u2014\u2014\u533b\u60a3\u89d2\u8272\u4e92\u6362\u4f53\u9a8c\u8425\u7cfb\u5217\u6d3b\u52a8\uff0c\u901a\u8fc7\u89d2\u8272\u201c\u60a3\u201d\u4f4d\u4f53\u9a8c\u8425\u3001\u533b\u9662\u5f00","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6648"};
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 () {
}
});
});
}