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=4569&classid=12&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: 1730417283,
nonceStr: 'fnOIQLKZ8khsYXS8',
signature: '656869c55a3b14d8b69e76d378d32b180c2cfb96',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u6811\u5170\uff08\u676d\u5dde\uff09\u533b\u9662-\u5eb7\u590d\u79d1\u80e1\u5fd7\u8c6a","smalltext":"\u8fde\u7eed\u56db\u4e2a\u6708 \u8fd9\u4e2a\u7537\u533b\u751f\u6bcf\u5929\u65e9\u6668 \u6084\u6084\u63d0\u524d\u79bb\u5bb6\u201c\u4ed6\u771f\u662f\u4e00\u4e2a\u597d\u533b\u751f\u554a\uff01\u4ed8\u51fa\u5f88\u591a\uff0c\u5c31\u50cf\u767d\u6c42\u6069\u7cbe\u795e\u4e00\u6837\uff0c\u771f\u7684\u5f88\u611f\u8c22\uff01\u201d2021\u5e744\u6708\uff0c\u4e00\u4f4d\u4e03\u65ec\u6bcd\u4eb2\u4e3a\u6811\u5170\uff08\u676d\u5dde\uff09\u533b\u9662\u5eb7\u590d\u79d1\u7684\u80e1\u5fd7\u8c6a\u533b\u751f\u9001\u4e0a\u4e86","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=12&id=4569"};
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 () {
}
});
});
}