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=111&classid=11&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: 1716026799,
nonceStr: '0KJaGYyHr66rw6Ko',
signature: 'aedcf18cef6c3628e075c99c486b9ce4614f32d4',
jsApiList: [
'checkJsApi',
'onMenuShareTimeline',
'onMenuShareAppMessage',
'onMenuShareQQ',
'onMenuShareWeibo',
]
});
wx.ready(function () {
var WxShareInfo = {"titlepic":"https:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u8fd9\u4ef6\u4e8b\u4ece\u5e74\u5934\u201c\u7092\u201d\u5230\u5e74\u5c3e\uff0c\u4ecd\u65e7\u5f88\u70ed","smalltext":"2018\u5e744\u670820\u65e5\u4e0a\u534810\u65f601\u5206\uff0c\u6210\u90fd\u5e02\u6e29\u6c5f\u533a\u4eba\u6c11\u533b\u9662\u63a5\u5230120\u603b\u53f0\u7535\u8bdd\uff0c\u8981\u6c42\u7acb\u5373\u51fa\u8bca\u533a\u5185\u67d0\u5c0f\u533a\u6551\u6cbb\u4e00\u540d\u80ba\u5fc3\u75c5\u53d1\u4f5c\u7684\u75c5\u4eba\u300210\u65f607\u5206\uff0c\u533b\u751f\u8096\u6ee1\u539a\u548c\u62a4\u58eb\u968f120\u6551\u62a4\u8f66\u62b5\u8fbe\u73b0\u573a\uff0c\u53d1\u73b0\u8fd9\u662f","url":"https:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=11&id=111"};
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 () {
}
});
});
}