zlist+=1; } }); $("#chongzhinum").html(czlist); $(".jieguorem").each(function(){ var iid = $(this).attr("iid"); var href = $(this).attr("href"); href = href.replace(new RegExp(iid, "g"), ""); href = href.replace("||", "|"); href = href.replace("=|", "="); $(this).attr("href",href); }); function getURLParameter(url, paramName) { var regex = new RegExp(`[?&]${paramName}=([^&#]*)`, 'i'); var match = url.match(regex); return match ? decodeURIComponent(match[1]) : null; } var url = window.location.href; var key = getURLParameter(url, 'keywords'); if(key!=null){ $("#guanjianzi").text("关键字:"+key+"").parent().show(); } $("#keytxt").click(function(){ var link = window.location.href; const newUrl = new URL(link); newUrl.searchParams.delete('keywords'); const result = newUrl.href; window.location.href=result; $("#keytxt").hide(); }) $(".inside-1 .classifyAside .list .child a").each(function(){ var link = $(this).attr("href"); console.log(link.indexOf("keywords")); if(link.indexOf("keywords")<=19){ var link2=""; var newlink=link.split('?'); if(newlink[1].indexOf("keywords")>-1){ for(var i = 0; i < newlink.length; i++){ if(i==0){ link2=newlink[i]+"?"; } if(i>1){ link2+=newlink[i]; } } $(this).attr("href",link2); } } }) l?screening=1&zd_product1_sx1=31YunMulti%E2%84%A2+%E9%97%81%E7%83%A9%E5%89%9D%E7%94%AF%E6%8E%97%E5%B9%8A%E9%8E%B0%E5%B4%B6%EF%BF%BD%259%EF%BF%BD%E6%87%90%E6%A5%A0%E5%9B%AC%E5%B4%A3%E5%A6%AF%E5%9E%AE%E5%A7%92%E7%91%A6%E9%8F%85%E3%83%A9%E5%BC%B8%E5%A9%8A%E5%A0%A5%E5%BC%AC%E5%A6%BE312%7C317%7C310%7C307&zd_product1_sx2=207%7C208' class='next'>Next 
微信二维码

微信

抖音二维码

抖音

微博二维码

微博