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=6766&classid=24&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: 1743763515,
nonceStr: 'jKd5Z6ahNniUESST',
signature: 'f466e6bab39264462ab3f85537a33b8dfd53b618',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"http:\/\/yyrw.org.cn\/d\/file\/p\/202405\/15a5eb2d80bcf734eb426f01b412f1f2.jpg","title":"2024\u5e74\u5168\u56fd\u533b\u9662\u4eba\u6587\u7ba1\u7406\u8def\u6f14\u5165\u9009\u6848\u4f8b\u516c\u793a","smalltext":"\u7531\u4e2d\u56fd\u751f\u547d\u5173\u6000\u534f\u4f1a\u4e2d\u56fd\u533b\u5e08\u534f\u4f1a\u300a\u4e2d\u56fd\u533b\u5b66\u4eba\u6587\u300b\u6742\u5fd7\u793e\u5317\u4eac\u4e2d\u6b27\u56fd\u9645\u533b\u9662\u7ba1\u7406\u6280\u672f\u7814\u7a76\u9662\u8054\u5408\u4e3e\u529e\u76842024\u5e74\u5168\u56fd\u533b\u9662\u4eba\u6587\u7ba1\u7406\u8def\u6f14\u4e8e\u4eca\u5e742\u6708\u542f\u52a8\u5e76\u4e8e\u8fd1\u65e5\u5b8c\u6210\u8bc4\u5ba1\u5de5\u4f5c36\u5f3a\u6848\u4f8b","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=24&id=6766"};
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 () {
}
});
});
}