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=6540&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: 1716231057,
nonceStr: 'nt4n4FxyScw3m4i0',
signature: '37394a9e4d4ec9f23f8a154a1dec39365ab36f22',
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\u7528\u5fc3\u7528\u60c5 \u529e\u4eba\u6c11\u6ee1\u610f\u7684\u533b\u9662","smalltext":"\u4e09\u5e74\u4ee5\u524d\uff0c\u60a3\u8005\u5230\u8d35\u9633\u5e02\u7b2c\u4e8c\u4eba\u6c11\u533b\u9662\uff08\u91d1\u9633\u533b\u9662\uff09\u5c31\u8bca\u73af\u8282\u6700\u591a\u8fbe16\u4e2a\u73af\u8282\uff0c\u4f4f\u9662\u529e\u7406\u8981\u62ff\u7740\u624b\u5de5\u4f4f\u9662\u5361\u5728\u95e8\u8bca\u3001\u75c5\u533a\u3001\u4f4f\u9662\u7f34\u8d39\u5904\u4e4b\u95f4\u6765\u56de\u8dd1\uff1b\u5728\u5c31\u8bca\u9ad8\u5cf0\u65f6\u6bb5\uff0c\u95e8\u8bca\u5927\u5385\u4e24\u4fa7\u7684\u6536\u8d39\u7a97\u53e3\u548c\u95e8","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6540"};
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 () {
}
});
});
}