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=638&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: 1762249393,
    nonceStr: 'dS1J7BqGeOZdOAsd',
    signature: '4a7ed07fb21f9797185df01ad960c0471d9a1274',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201906\/3f8aa9c57f4c421133df417cb10a37cb.jpg","title":"\u94dc\u9675\u5e02\u7acb\u533b\u9662\uff1a\u542f\u7a0b\u63f4\u85cf\uff0c\u5e26\u53bb\u5e0c\u671b","smalltext":"6\u670810\u65e5\uff0c\u94dc\u9675\u5e02\u7acb\u533b\u9662\u5987\u4ea7\u79d1\u4e3b\u6cbb\u533b\u5e08\u8d75\u7530\u52c7\u8e0f\u4e0a\u4e86\u53bb\u5f80\u897f\u85cf\u81ea\u6cbb\u533a\u5c71\u5357\u5e02\u6d6a\u5361\u5b50\u53bf\u7684\u5f81\u7a0b\uff0c\u5f00\u59cb\u4e3a\u671f\u516d\u4e2a\u6708\u7684\u533b\u7597\u63f4\u85cf\u5de5\u4f5c\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=638"};
      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 () { 
          }
      });
  });
}