function getval(val){ var a1=val.replace(/<\/?.+?>/g,""); var a2=a1.replace(/ /g,""); return a2; } //document.write('http://wxzl.cogonline.com/html/CeShiZhuanLanYi/WenZhang/YiShiBaoDao/199.html'); wx.config({ debug: false, appId: 'wx85d01b1d7184c45d', timestamp: 1714730800, nonceStr: '6T3EEAVsiRALfOc6', signature: '37e84989311a0f349cc55066ffa075c8a7246437', jsApiList: [ 'checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo' ] }); wx.ready(function () { wx.onMenuShareTimeline({ title: '谢幸教授点评卵巢癌脑转移:BRCA突变人群风险增高,应选择有能力透过血脑屏障的药物尽早干预', link: 'http://wxzl.cogonline.com/html/CeShiZhuanLanYi/WenZhang/YiShiBaoDao/199.html', imgUrl: 'http://wxzl.cogonline.com/wp/logo.jpg', success: function () { //alert('fx-ok'); }, cancel: function () { //alert('fx-no'); } }); wx.onMenuShareAppMessage({ title: '谢幸教授点评卵巢癌脑转移:BRCA突变人群风险增高,应选择有能力透过血脑屏障的药物尽早干预', link: 'http://wxzl.cogonline.com/html/CeShiZhuanLanYi/WenZhang/YiShiBaoDao/199.html', imgUrl: 'http://wxzl.cogonline.com/wp/logo.jpg', desc: getval(''), success: function () { //alert('fx-ok'); }, cancel: function () { //alert('fx-no'); } }); }); wx.error(function (res) { //alert(location.href.split('#')[0]); //alert('err:'+res.errMsg); }); if(location.href.indexOf("?") >= 1 ){ location.href=location.href.substring(0,location.href.indexOf("?")); }