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=5395&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: 1716027767,
nonceStr: 'ic4JGQKP3vUYs3xj',
signature: 'fa1b398447c841825b89b5e1434ded63625ec3bf',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u4e5d\u9f99\u5761\u533a\u4eba\u6c11\u533b\u9662\uff1a\u4e0d\u754f\u8270\u8f9b\u650020\u697c\uff0c\u5e73\u51e1\u5584\u4e3e\u6e29\u6696\u4eba\u5fc3","smalltext":"\u4e5d\u9f99\u5761\u533a\u4eba\u6c11\u533b\u9662\u6025\u8bca\u79d1\uff0c\u6bcf\u5929\u5728\u4e34\u5e8a\u4e00\u7ebf\u594b\u6597\uff0c\u603b\u662f\u6025\u75c5\u4eba\u4e4b\u6240\u6025\uff0c\u5145\u6ee1\u7cbe\u795e\u53bb\u8fce\u63a5\u6bcf\u4e00\u4e2a\u6311\u6218\u3002\u8fd1\u671f\uff0c\u6025\u8bca\u79d1\u7684\u5189\u83ca\u534e\u62a4\u58eb\uff0c\u5728\u65e9\u66687:42\u63a5\u5230\u4e86120\u603b\u53f0\u6765\u7535\uff0c\u6768\u5bb6\u576a\u94f6\u90fd\u5927\u53a6\u6709\u4e00\u4f4d32\u5c81\u7684\u5973","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5395"};
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 () {
}
});
});
}