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=4833&classid=11&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: 1749194694,
nonceStr: 'C6vC6VtMRbZjpZSY',
signature: '83b3e405f0dbcdb9d7b42ef4d0c3669501dc53bf',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u77f3\u95e8\u53bf\u4e2d\u533b\u533b\u9662-\u6e29\u5ea6\u81ea\u5979\u4eec\u800c\u6765\uff0c\u6e29\u6696\u5728\u4f60\u6211\u5fc3\u4e2d\u76db\u5f00","smalltext":" \u77f3\u95e8\u53bf\u4e2d\u533b\u533b\u9662\u521b\u529e\u4e8e1954\u5e74\uff0c1997\u5e74\u88ab\u8bc4\u4e3a\u4e8c\u7ea7\u7532\u7b49\u4e2d\u533b\u533b\u9662\uff0c2021\u5e74\u664b\u5347\u4e3a\u4e09\u7ea7\u4e2d\u533b\u533b\u9662\uff0c\u533b\u9662\u4ee5\u201c\u5173\u7231\u3001\u56e2\u7ed3\u3001\u594b\u8fdb\u201d\u4e3a\u533b\u9662\u7cbe\u795e\uff0c\u201c\u4ece\u5fc3\u51fa\u53d1\u3001\u5065\u5eb7\u5230\u5bb6\u201d\u4e3a\u670d\u52a1\u7406\u5ff5\uff0c\u73b0\u8bbe\u670921\u4e2a","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=4833"};
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 () {
}
});
});
}