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=4081&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: 1762229931,
    nonceStr: 'H5xy8fMoty6eLzHf',
    signature: '5fa76be4682a924c22e2d387345e0972f883b646',
    jsApiList: [    
      'checkJsApi',    
      'onMenuShareTimeline',    
      'onMenuShareAppMessage',    
      'onMenuShareQQ',    
      'onMenuShareWeibo',
    ]    
  });
  wx.ready(function () {
      var WxShareInfo = {"titlepic":"http:\/\/www.yyrw.org.cn\/e\/data\/images\/noimg.gif","title":"\u56db\u5ddd\u5927\u5b66\u534e\u897f\u533b\u9662\uff1a\u6768\u80dc\u52c7\u6559\u6388\u56e2\u961f\u3001\u96f7\u5251\u7814\u7a76\u5458\u56e2\u961f\u8054\u5408\u4e2d\u79d1\u9662\u6606\u660e\u52a8\u7269\u6240\u90d1\u6c38\u5510\u7814\u7a76\u5458\u56e2\u961f\u5728Science\u6742\u5fd7\u4e0a\u5728\u7ebf\u53d1\u8868\u65b0\u51a0\u5c0f\u5206\u5b50\u6291\u5236\u5242\u7814\u7a76\u8bba\u6587","smalltext":"2\u670819\u65e5\uff0c\u56db\u5ddd\u5927\u5b66\u534e\u897f\u533b\u9662\u751f\u7269\u6cbb\u7597\u56fd\u5bb6\u91cd\u70b9\u5b9e\u9a8c\u5ba4\u8054\u5408\u4e2d\u79d1\u9662\u6606\u660e\u52a8\u7269\u7814\u7a76\u6240\uff0c\u5171\u540c\u5728Science\uff08IF\uff1a41.845\uff09\u4e0a\u5728\u7ebf\u53d1\u8868\u9898\u4e3a\u201cSARS-CoV-2 Mpro inhibitors with antiviral activity in a transgenic mouse model\u201d\u7684\u65b0\u51a0\u5c0f\u5206\u5b50\u6291\u5236\u5242\u7814\u7a76\u8bba\u6587\u3002","url":"http:\/\/www.yyrw.org.cn\/e\/action\/ShowInfo.php?classid=5&id=4081"};
      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 () { 
          }
      });
  });
}