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=1033&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: 1725770311,
nonceStr: '9DHpnfxrLCVNBlfX',
signature: '6364fb9532c71670e02ac9ac614d057efe860bec',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u534e\u4e2d\u79d1\u6280\u5927\u5b66\u540c\u6d4e\u533b\u5b66\u9662\u9644\u5c5e\u534f\u548c\u533b\u9662\u53f2\u9759\u59dd:\u4e00\u8def\u76f8\u4f34\uff0c\u643a\u7231\u524d\u884c","smalltext":"\u5982\u679c\u6ca1\u6709\u90a3\u4e00\u6b21\u548c\u75c5\u4eba\u655e\u5f00\u5fc3\u6249\u7684\u8c08\u8bdd\uff0c\u6ca1\u6709\u60a3\u8005\u90a3\u6e7f\u6da6\u7684\u773c\u7736\uff0c\u4e5f\u8bb8\u6211\u5c31\u4e0d\u4f1a\u52a0\u5165\u598a\u5a20\u7cd6\u5c3f\u75c5\u5c0f\u7ec4\uff0c\u4e5f\u4e0d\u4f1a\u89c1\u8bc1\u534f\u548c\u201c\u7cd6\u5988\u5988\u4e4b\u5bb6\u201d\u7684\u4e00\u8def\u6210\u957f\u3001\u8715\u53d8\u30022015\u5e74\u7684\u4e00\u4e2a\u590f\u5929\uff0c\u6211\u503c\u591c\u73ed\uff0c\u5df2\u662f\u591c","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=1033"};
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 () {
}
});
});
}