1// é¦é¡µè½®æå¾ 2var mySwiper = new Swiper('.ml_banner', { 3 // autoplay: { 4 // delay: 3000 5 // }, 6 speed: 2000, 7 loop: true, // å¾ªç¯æ¨¡å¼é项 8 9 // 妿éè¦åé¡µå¨ 10 pagination: { 11 el: '.swiper-pagination', 12 clickable: true 13 }, 14 // 忢æ¹å¼ 15 effect: 'flip', 16 17 // 妿éè¦åè¿åéæé® 18 navigation: { 19 nextEl: '.bannerbtnright', 20 prevEl: '.bannerbtnleft', 21 }, 22 23 24}) 25 26 27// ææºå¯¼èªæ¶èµ·å±å¼ 28$('.hb').click(function(e) { 29 e.preventDefault(); 30 $('.center_span').toggleClass('hb_fadeout') 31 $('.top_span').toggleClass('change1') 32 $('.bottom_span').toggleClass('change2') 33 34}); 35$('.hb').click(function(e) { 36 e.preventDefault(); 37 $('.ml_mb_nav').stop().toggleClass('mb_navShow') 38 39}); 40$('.mb_item1_arrow').click(function(e) { 41 e.preventDefault(); 42 var num1 = $('.mb_item1_arrow').index(this) 43 $('.ml_mbnav_2').eq(num1).stop().slideToggle() 44 $('.mb_item1_arrow').eq(num1).stop().toggleClass('ml_mb_arrowChange') 45 46}); 47$('.mb_item2_arrow').click(function(e) { 48 e.preventDefault(); 49 var num2 = $('.mb_item2_arrow').index(this) 50 $('.ml_mbnav_3').eq(num2).stop().slideToggle() 51 $('.mb_item2_arrow').eq(num2).stop().toggleClass('ml_mb_arrowChange') 52 53}); 54// 头鍿æ 55$(document).ready(function() { //å¨ææ¡£å è½½å®æ¯åæ§è¡ 56 57 $(window).scroll(function() { //å¼å§ç嬿»å¨æ¡ 58 59 //è·åå½åæ»å¨æ¡é«åº¦ 60 61 var topp = $(document).scrollTop(); 62 63 //ç¨äºè°è¯ å¼¹åºå½åæ»å¨æ¡é«åº¦ 64 65 //alert(topp); 66 67 //夿妿æ»å¨æ¡å¤§äº90åå¼¹åº "ok" 68 69 if (topp > 65) { 70 71 //alert("ok"); 72 $('.ml_pcheader').addClass('fixed') 73 74 } else { 75 $('.ml_pcheader').removeClass('fixed') 76 } 77 78 }) 79 80}) 81 82 83AOS.init({ 84 duration: 1000 85})
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.