function getval(val){ var a1=val.replace(/<\/?.+?>/g,""); var a2=a1.replace(/ /g,""); return a2; } //document.write('http://wxzl.cogonline.com/html/CeShiZhuanLanYi/ShiBin/PARPIJinZhan/862.html'); wx.config({ debug: false, appId: 'wx85d01b1d7184c45d', timestamp: 1714688958, nonceStr: 'MlyuQlRAt2uHFBwZ', signature: '1187324808ea984ddb5471c9b98152fd4a86cf6f', jsApiList: [ 'checkJsApi', 'onMenuShareTimeline', 'onMenuShareAppMessage', 'onMenuShareQQ', 'onMenuShareWeibo' ] }); wx.ready(function () { wx.onMenuShareTimeline({ title: '年终盘点系列第②场,将由李贵玲教授主讲《2022年晚期卵巢癌新药进展盘点》,今晚与您相约云端!', link: 'http://wxzl.cogonline.com/html/CeShiZhuanLanYi/ShiBin/PARPIJinZhan/862.html', imgUrl: 'http://wxzl.cogonline.com/wp/logo.jpg', success: function () { //alert('fx-ok'); }, cancel: function () { //alert('fx-no'); } }); wx.onMenuShareAppMessage({ title: '年终盘点系列第②场,将由李贵玲教授主讲《2022年晚期卵巢癌新药进展盘点》,今晚与您相约云端!', link: 'http://wxzl.cogonline.com/html/CeShiZhuanLanYi/ShiBin/PARPIJinZhan/862.html', imgUrl: 'http://wxzl.cogonline.com/wp/logo.jpg', desc: getval('【直播预告】PARP识堂·妇瘤领域年终盘点系列第二场,将由华中科技大学同济医学院附属协和医院李贵玲教授与您分享《2022年晚期卵巢癌新药进展盘点》,于12月20日(周二)19:30正式开讲,与您相约云端,精彩内容不容错过!'), 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("?")); }