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/675.html'); wx.config({ debug: false, appId: 'wx85d01b1d7184c45d', timestamp: 1714896129, nonceStr: '2jghTGobpfYMs1CL', signature: '2806ed8bdcde0dd85b6f163e24f293585953a8c2', jsApiList: [ 'checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo' ] }); wx.ready(function () { wx.onMenuShareTimeline({ title: '院士论坛|卵巢癌研究进展与规范化治疗', link: 'http://wxzl.cogonline.com/html/CeShiZhuanLanYi/WenZhang/YiShiBaoDao/675.html', imgUrl: 'http://wxzl.cogonline.com/wp/logo.jpg', success: function () { //alert('fx-ok'); }, cancel: function () { //alert('fx-no'); } }); wx.onMenuShareAppMessage({ title: '院士论坛|卵巢癌研究进展与规范化治疗', link: 'http://wxzl.cogonline.com/html/CeShiZhuanLanYi/WenZhang/YiShiBaoDao/675.html', imgUrl: 'http://wxzl.cogonline.com/wp/logo.jpg', desc: getval('本文刊登于《中国实用妇科与产科杂志》2021,37(6):601-604DOI:10.19538/j.fk2021060101【引用本文】马丁.卵巢癌研究进展与规范化治疗[J].中国实用妇科与产科杂志,2021,37(6):601-604.'), 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("?")); }