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=5558&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: 1748933479,
nonceStr: 'E4fWU3AEtY1gnmtA',
signature: 'bdba53d5a6c97ce162063eb7235f3be78cffc0a5',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5e38\u5dde\u5e02\u7b2c\u4e00\u4eba\u6c11\u533b\u9662\uff1a\u6211\u4e0d\u4fe1\u8fd9\u4e2a\u90aa\uff0c\u6211\u8981\u548c\u6b7b\u795e\u640f\u4e00\u640f\uff01","smalltext":"\u201c\u4f5c\u4e3a\u4e00\u540d\u75c5\u4eba\u5bb6\u5c5e\uff0c\u5728\u6b64\u771f\u631a\u5730\u611f\u8c22\u8d35\u9662\u7b2c\u4e03\u7efc\u5408\u75c5\u533a\u8d1f\u8d23\u4eba\u6768\u6ce2\u4e3b\u4efb\u5bf9\u6211\u7684\u4eb2\u4eba\u65e0\u79c1\u4ed8\u51fa\u4e0e\u5e2e\u52a9\uff0c\u662f\u5979\u7ed9\u4e88\u4e86\u6211\u7684\u4eb2\u4eba\u7b2c\u4e8c\u6b21\u751f\u547d\u2026\u2026\u201d\u4e00\u7eb8\u611f\u8c22\u4fe1\uff0c\u5b57\u91cc\u884c\u95f4\u91cc\u90fd\u6d41\u9732\u7740\u60a3\u8005\u5bb6\u5c5e\u7684\u611f","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=5558"};
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 () {
}
});
});
}