"); let title = html.substr(tit_startIndex + 7, tit_endIndex - tit_startIndex - 7) document.title = title //修改右侧href $(".content-right").find(".contentTab a").each(function () { var href = $(this).attr("href"); if (href.indexOf("addTabRightUrl") < 0) { href = "javascript:addTabRightUrl('" + href + "')"; $(this).attr("href", href); } }); $(".content-right").find(".contentTab select").each(function () { $(this).attr("onchange", "addTabRightUrl(options[selectedIndex].value)"); }); Fflc_Style() /*20220610 添加的*/ TuPianFangDa() MaoDianDingWei(); return; }) } /*20220610 添加的*/ //设置经典案例的方法流程的样式 function Fflc_Style() { var screen_width = window.screen.width; var screen_height = window.screen.height; //根据屏幕分辨率判断是否是手机 if (screen_width < 600 && screen_height < 1000) { //是手机端的话 var liuchenglist = $("div.content-right > div.content-content div.pReset_div2>div.pReset_div2_d") console.log(liuchenglist.length) if (liuchenglist.length % 4 == 0 && liuchenglist.length > 0) { $("div.content-right > div.content-content div.pReset_div2>div.pReset_div2_d").each(function () { $(this).css({ "min-width": "22%", "fontSize": "20px" }) }) } } } /*20220610 添加的*/ function MaoDianDingWei() { if ($(".syjy-mulu p>a").length > 0) { $(".syjy-mulu p>a").click(function () { $("html,body").animate({ scrollTop: $($(this).attr("href")).offset().top - 300 }, 500) }) } if ($(".syjy-mulu-v2 p>a").length > 0) { $(".syjy-mulu-v2 p>a").click(function () { $("html,body").animate({ scrollTop: $($(this).attr("href")).offset().top - 300 }, 500) }) } }
XML 地图