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=4991&classid=4&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: 1743632787,
nonceStr: 'WONxxLcvUgCwxkyH',
signature: 'efbb706f43c93c7762a07531605543f0fd15f8d9',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5a01\u6d77\u5e02\u7acb\u533b\u9662\uff1a\u65b0\u65f6\u671f\u5982\u4f55\u52a0\u5f3a\u515a\u5efa\u7edf\u9886\u9ad8\u8d28\u91cf\u53d1\u5c55\u63a2\u7d22","smalltext":" \u4ece\u65b0\u4e2d\u56fd\u6210\u7acb\u5230\u515a\u7684\u5341\u516b\u5927\u4e4b\u524d\uff0c\u516c\u7acb\u533b\u9662\u9886\u5bfc\u4f53\u5236\u7ecf\u5386\u591a\u6b21\u53d8\u9769\u3002\u4ece\u603b\u4f53\u4e0a\u770b\uff0c\u7531\u4e8e\u5341\u516b\u5927\u4ee5\u524d\u516c\u7acb\u533b\u9662\u4e3b\u5bfc\u6027\u7684\u9886\u5bfc\u4f53\u5236\u662f\u9662\u957f\u8d1f\u8d23\u5236\uff0c\u9662\u957f\u5728\u533b\u9662\u7ba1\u7406\u548c\u8fd0\u884c\u4e2d\u4ecd\u7136\u5904\u4e8e\u4e3b\u5bfc\u5730\u4f4d","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=4991"};
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 () {
}
});
});
}