1/*产åç®å½ begin*/ 2/*产åç®å½ç¬¬ä¸ä¸ªé»è®¤å±å¼*/ 3$(function(){ $(".cp_type .bd ul li").first().children('div').show();$(".cp_type .bd ul li").first().addClass('on');}); 4$(".cp_type .bd ul li p span").click(function () { 5 if($(this).parents('li').hasClass('on')){ 6 $(this).parents('li').removeClass('on').find('div').stop().slideUp(); 7 }else{ 8 $(this).parents('li').find('div').removeAttr("style"); 9 $(this).parents('li').addClass('on').find('div').stop().slideDown(); 10 } 11}); 12 13if(document.body.clientWidth <=1079){ 14 $(".cp_type .hd").click(function () { 15 if($(this).hasClass('on')){ 16 $(this).next('div').removeAttr("style"); 17 $(this).removeClass('on').next('div').stop().slideUp(); 18 }else{ 19 $(this).next('div').removeAttr("style"); 20 $(this).addClass('on').next('div').stop().slideDown(); 21 } 22 }); 23} 24/*产åç®å½ end*/ 25 26/*ä¾§è¾¹æ¼æµ®*/ 27$(function() { 28 var time; 29 //var winHeight = top.window.document.body.clientHeight || $(window.parent).height(); 30 $('.client-2').css({ 31 'marginTop': -($('.client-2').height() / 2) 32 }); 33 $('#client-2 li').bind({ 34 'mouseenter': function() { 35 var scope = this; 36 time = setTimeout(function() { 37 var divDom = $(scope).children('div'); 38 var maxWidth = divDom.width(); 39 $(scope).stop().animate({ 40 left: 77 - maxWidth 41 }, 42 'normal', 43 function() { 44 var pic = $(scope).find('.my-kefu-weixin-pic'); 45 if (pic.length > 0) { 46 pic.show(); 47 } 48 }); 49 }, 50 100) 51 }, 52 'mouseleave': function() { 53 var pic = $(this).find('.my-kefu-weixin-pic'); 54 var divDom = $(this).children('div'); 55 var maxWidth = divDom.width(); 56 if (pic.length > 0) { 57 pic.hide(); 58 } 59 clearTimeout(time); 60 var divDom = $(this).children('div'); 61 $(this).stop().animate({ 62 left: 0 63 }, 64 "normal", 65 function() {}); 66 } 67 }); 68 //è¿åé¡¶é¨ 69 $(window).scroll(function() { 70 var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop; 71 var eltop = $("#client-2").find(".my-kefu-ftop"); 72 if (scrollTop > 0) { 73 eltop.show(); 74 } else { 75 eltop.hide(); 76 } 77 }); 78 $("#client-2").find(".my-kefu-ftop").click(function() { 79 var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop; 80 if (scrollTop > 0) { 81 $("html,body").animate({ 82 scrollTop: 0 83 }, 84 "slow"); 85 } 86 }); 87}); 88 89<!--导èªååºå¼æé®--> 90$(function () { 91 $(".menu_open").click(function () { 92 $(".nav").animate({ 'left': '0' }, 400); 93 $(".hcover").animate({ 'right': '0' }, 400); 94 }); 95 $(".hcover").click(function () { 96 $(this).animate({ 'right': '-50%' }, 400); 97 $(".nav").animate({ 'left': '-50%' }, 400); 98 $(".nav_ul").animate({ 'left': '0' }, 400); 99 $('.nav_item_open').css('left', '-50%'); 100 }); 101 $(".nav_item i").click(function () { 102 $(".nav_ul").animate({ 'left': '-100%' }, 400); 103 $(this).next('.nav_item_open').css('left', '0'); 104 }); 105 $(".subopen").click(function () { 106 $(this).parent('.nav_item_open').css('left', '-50%'); 107 $(".nav_ul").animate({ 'left': '0' }, 400); 108 }); 109 110}); 111 112 113 114$('.shuzi').countUp(); 115 116 117var swiper4 = new Swiper('.swiper-container4', { 118 autoplay: 3000,//èªå¨ææ¾æ¶é´ 119 loop: true,//å¼å¯å¾ªç¯true or false 120 slidesPerView: 4, //åæ° 121 spaceBetween: 20, //slidesä¹é´é´é 122 breakpointsInverse: true, 123 nextButton: '.swiper-button-next', 124 prevButton: '.swiper-button-prev', 125 paginationClickable: true, 126 observer:true, 127 observeParents:true, 128 autoplayDisableOnInteraction:false, 129 observer:true, 130 observeParents:true, 131 autoplayDisableOnInteraction:false, 132 breakpoints: { 133 320: { 134 slidesPerView: 1, 135 spaceBetween: 20 136 }, 137 767: { 138 slidesPerView: 1, 139 spaceBetween: 20 140 }, 141 1080: { 142 slidesPerView: 3, 143 spaceBetween: 20 144 }, 145 1200: { 146 slidesPerView: 4, 147 spaceBetween: 20 148 } 149 } 150 });
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.