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=216&classid=4&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: 1761873905,
    nonceStr: 'Mq13Q9jt27EtUDYb',
    signature: '27c55829d4690b91e4561250af3f5d27feec9fc0',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/oss2.zhongou.org.cn\/web\/yyrw\/201905\/80f381d9197164fa21e322e2518aa59f.jpg","title":"\u8bb2\u597d\u6545\u4e8b\uff0c\u8ba9\u533b\u9662\u6587\u5316\u843d\u5730\u751f\u6839","smalltext":"\u56de\u987e\u6211\u4eec40\u5e74\u6765\u7684\u533b\u7597\u536b\u751f\u4e8b\u4e1a\u53d1\u5c55\u8fdb\u5ea6\uff0c\u6211\u4eec\u53d1\u73b040\u5e74\u533b\u7597\u536b\u751f\u4e8b\u4e1a\u6280\u672f\u53d1\u5c55\u7a81\u98de\u731b\u8fdb\uff0c\u6211\u4eec\u548c\u56fd\u5916\u7684\u5dee\u8ddd\u8d8a\u6765\u8d8a\u5c0f\uff0c\u751a\u81f3\u5728\u67d0\u4e9b\u9886\u57df\u8d85\u8fc7\u4e86\u897f\u65b9\u53d1\u8fbe\u56fd\u5bb6\u3002","url":"http:\/\/yyrw.org.cn\/e\/action\/ShowInfo.php?classid=4&id=216"};
      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 () { 
          }
      });
  });
}