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=1015&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: 1714403353,
nonceStr: 'Az8UjCtSlVIbdbti',
signature: '274b268573e618049d8326a498d8ae3c56446a65',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e7f\u897f\u56fd\u9645\u58ee\u533b\u533b\u9662\u83b7\u56fd\u5bb6\u81ea\u7136\u79d1\u5b66\u57fa\u91d1\u9879\u76ee5\u9879","smalltext":"\u8fd1\u65e5\uff0c\u56fd\u5bb6\u81ea\u7136\u79d1\u5b66\u57fa\u91d1\u59d4\u5458\u4f1a\u516c\u5e03\u4e862019\u5e74\u5ea6\u56fd\u5bb6\u81ea\u7136\u57fa\u91d1\u9879\u76ee\uff08\u4e0b\u7b80\u79f0\u201c\u56fd\u57fa\u9879\u76ee\u201d\uff09\u8bc4\u5ba1\u7ed3\u679c\uff0c\u6211\u9662\u5171\u67095\u4e2a\u9879\u76ee\u83b7\u7acb\u9879\u8d44\u52a9\uff0c\u76f4\u63a5\u8d44\u52a9\u7ecf\u8d39\u603b\u91d1\u989d175\u4e07\u5143\u3002\u672c\u6b21\u83b7\u6279\u7684\u56fd\u57fa\u9879\u76ee\u5747\u4e3a\u5730\u533a\u79d1\u5b66\u57fa\u91d1\u9879\u76ee\uff0c\u7814\u7a76\u65b9\u5411\u96c6\u4e2d\u5728\u4e2d\u533b\u836f\u9886\u57df\uff0c\u6211\u9662\u4f20\u7edf\u533b\u836f\u79d1\u7814\u4eba\u5458\u53ca\u79d1\u7814\u6c34\u5e73\u5d2d\u9732\u5934\u89d2\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=1015"};
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 () {
}
});
});
}