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=6706&classid=14&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: 1715873117,
nonceStr: 'DrKIQd436v8mxxTC',
signature: '7d8a69f49bbf017ebf0728069270c0844140036d',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u533b\u9662\u4eba\u6587\u7ba1\u7406\u5f81\u6587\uff1a\u53d9\u6e29\u6696\uff0c\u5b88\u5b89\u5b81","smalltext":"\u5f90\u533b\u9644\u9662\uff0c\u5728\u6dee\u6d77\u7ecf\u6d4e\u533a\u8fd9\u7247\u817e\u98de\u7684\u571f\u5730\u4e0a\uff0c\u4ee5\u533b\u7597\u4e4b\u540d\uff0c\u4e66\u5199\u5e0c\u671b\u7bc7\u7ae0\uff1b\u5f90\u533b\u9644\u9662\uff0c\u662f\u751f\u547d\u5f00\u59cb\u7684\u8d77\u70b9\uff0c\u662f\u751f\u547d\u7ed3\u675f\u7684\u7ec8\u70b9\uff1b\u5f90\u533b\u9644\u9662\uff0c\u662f\u5b88\u62a4\u5065\u5eb7\u7684\u4f7f\u8005\uff0c\u662f\u62a4\u4f51\u751f\u547d\u7684\u670b\u53cb\uff1b\u5f90\u533b\u9644\u9662\uff0c\u662f\u4e00\u5ea7\u6e29\u99a8\u7684\u5bb6","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=14&id=6706"};
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 () {
}
});
});
}