1jQuery(function ($) { 2 $(document).ready(function() { 3 $('.menu-toggle,.mobile-menu-wrapper').click(function () { 4 if($('.mobile-menu-wrapper').hasClass('body-visible')){ 5 $('.mobile-menu-wrapper').removeClass('body-visible'); 6 }else { 7 $('.mobile-menu-wrapper').addClass('body-visible'); 8 } 9 }); 10 $(".mobile-menu-wrapper").on("click", ".mobile-menu-area", function(e) {//ç¹å»å级ä¸åå½±å 11 e.stopPropagation() 12 }) 13 14 $('.navbar-nav>li').each(function () { 15 $(this).removeClass('active'); 16 console.log("window.location.href", window.location); 17 if(window.location.href.indexOf($(this).find('a').attr('href'))>= 0){ 18 $(this).addClass('active'); 19 } 20 }) 21 var swiper = new Swiper('.banner-swiper', { 22 autoplay: true, 23 loop: true, 24 speed: 1000, 25 pagination: { 26 clickable: true, 27 el: ".swiper-pagination", 28 }, 29 }); 30 }); 31});
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.