1// ͨ������ light ���� ʵ�ָ��� 2 $(function(){ 3 4 //äºçº§åç±»é«äº® 5 var href = location.pathname + location.search; 6 7 //let href = $('.p_breadcrumb .p_breadcrumbItem:last a').attr('href') 8 9 //éç¨äºçº§åç±»é«äº® 10 11 $(".e_loop-3 .p_list .e_text-4 a ").each(function (i, e) { 12 var aa = $(e).attr("href"); 13 if (aa == href) { 14 // ������ʽ 15 $(e).parents('.p_loopitem').addClass('light') 16 .end().siblings('.p_loopitem').removeClass('light'); 17 } 18 }); 19 20 //å½åæ ç®äºçº§åç±»é«äº® 21 let three_link = $('.e_categoryB-1 .deep-1 .p_c_item').eq('0').find('a').attr('href'); 22 $(".e_loop-3 .p_list .e_text-4 a ").each(function (i, e) { 23 var aa = $(e).attr("href"); 24 if (aa == three_link) { 25 // ������ʽ 26 $(e).parents('.p_loopitem').addClass('light') 27 .end().siblings('.p_loopitem').removeClass('light'); 28 } 29 }); 30 31 32 //ä¸çº§è¯¦æ 页åç±»é«äº® 33 let cate_link = $('.e_container-3 .e_loop_sub-5 .e_text-6').find('a').attr('href'); 34 $('.e_categoryB-1 .deep-1 .p_c_item').find('a').each(function (i, e) { 35 let cc = $(e).attr("href"); 36 if (cc == cate_link) { 37 // ������ʽ 38 $(e).parents('.p_c_item').addClass('active') 39 .end().siblings('.p_c_item').removeClass('active'); 40 } 41 }); 42 //éç¨ä¸çº§è¯¦æ 页åç±»é«äº® 43 44 $(".e_loop-3 .p_list .e_text-4 a ").each(function (i, e) { 45 var aa = $(e).attr("href"); 46 if (aa == cate_link) { 47 // ������ʽ 48 $(e).parents('.p_loopitem').addClass('light') 49 .end().siblings('.p_loopitem').removeClass('light'); 50 } 51 }); 52 53 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.