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=778&classid=5&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: 1761885358,
    nonceStr: '61D8kN3tFfbXuL6k',
    signature: 'ab4e2400f4269596ed3faf571d36cb2081cfd2a5',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201907\/981a37d4739d03097ad63533bfc5ca28.jpg","title":"\u95fd\u4e1c\u533b\u9662\uff1a\u5c0f\u8c22\u62d4\u7259\u8bb0","smalltext":"\u3000\u3000\u6709\u53e5\u6d41\u4f20\u4e0b\u6765\u7684\u8001\u8bdd\u8bf4\u5f97\u597d\uff0c\u7259\u75bc\u4e0d\u662f\u75c5\uff0c\u75bc\u8d77\u6765\u8981\u4eba\u547d\uff0c\u662f\u6709\u5176\u4e00\u5b9a\u9053\u7406\uff0c\u6682\u4e14\u4e0d\u8bba\u7259\u75bc\u662f\u5426\u5c5e\u75c5\uff0c\u4f46\u75bc\u8d77\u6765\u786e\u5b9e\u8981\u547d\uff0c\u5c0f\u8c22\u7ecf\u5386\u62d4\u7259\u540e\u522b\u6709\u4e00\u756a\u611f\u609f\u3002\u3000\u3000\u8bf4\u4e5f\u5947\u602a\uff0c\u65f6\u597d\u65f6\u574f\u7684\u7259\u75bc\uff0c\u7ecf\u8fc7\u51e0","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=778"};
      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 () { 
          }
      });
  });
}