function getval(val){ var a1=val.replace(/<\/?.+?>/g,""); var a2=a1.replace(/ /g,""); return a2; } //document.write('http://wxzl.cogonline.com/html/CeShiZhuanLanYi/ShiBin/ZhiNaWenXian/682.html'); wx.config({ debug: false, appId: 'wx85d01b1d7184c45d', timestamp: 1741556216, nonceStr: 'IPYlQ6QdF1BwxioJ', signature: '3741abd44c8d86478dd350be1fb05b7a27286dbe', jsApiList: [ 'checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo' ] }); wx.ready(function () { wx.onMenuShareTimeline({ title: '宋坤教授:PARP抑制剂联合抗血管生成药物治疗晚期上皮性卵巢癌的基本原理、现状与未来展望', link: 'http://wxzl.cogonline.com/html/CeShiZhuanLanYi/ShiBin/ZhiNaWenXian/682.html', imgUrl: 'http://wxzl.cogonline.com/wp/logo.jpg', success: function () { //alert('fx-ok'); }, cancel: function () { //alert('fx-no'); } }); wx.onMenuShareAppMessage({ title: '宋坤教授:PARP抑制剂联合抗血管生成药物治疗晚期上皮性卵巢癌的基本原理、现状与未来展望', link: 'http://wxzl.cogonline.com/html/CeShiZhuanLanYi/ShiBin/ZhiNaWenXian/682.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("?")); }