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=4835&classid=10&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: 1749210573,
nonceStr: '5J8l6XkKsY9TgiLX',
signature: 'e8026d7c1b5d5a49f1209d55392b4e09d0ecbd31',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u5410\u9c81\u756a\u5e02\u9ad8\u660c\u533a\u4eba\u6c11\u533b\u9662-\u201c\u75ab\u201d\u4e0d\u5bb9\u8f9e\uff0c\u656c\u4f51\u751f\u547d","smalltext":"\u9762\u5bf9\u6765\u52bf\u6c79\u6c79\u7684\u75ab\u60c5\uff0c\u5410\u9c81\u756a\u5e02\u9ad8\u660c\u533a\u4eba\u6c11\u533b\u9662\u79ef\u6781\u54cd\u5e94\u8d2f\u5f7b\u843d\u5b9e\u533a\u59d4\u3001\u533a\u653f\u5e9c\u7684\u7edf\u4e00\u90e8\u7f72\uff0c\u5f3a\u5316\u75ab\u60c5\u7684\u7ec4\u7ec7\u9886\u5bfc\uff0c\u843d\u5b9e\u5de5\u4f5c\u8d23\u4efb\uff0c\u672c\u7740\u201c\u75ab\u60c5\u5c31\u662f\u547d\u4ee4\uff0c\u9632\u63a7\u5c31\u662f\u8d23\u4efb\u201d\u7684\u539f\u5219\uff0c\u7528\u533b\u8005\u7684\u62c5\u5f53\u548c","url":"https:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=10&id=4835"};
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 () {
}
});
});
}