1/*ç»å¯¼èªèå䏿äºçº§èåçæ·»å 䏿ç®å¤´*/ 2$(".mainnav>li").each(function(){ 3 if($(this).hasClass("menu-item-has-children")){ 4 $(this).children('a.custom_hover_color').append('<span class="iconfont icon-xiajiantou"></span>'); 5 } 6}); 7$(".nav__list>li").each(function(){ 8 if($(this).hasClass("menu-item-has-children")){ 9 $(this).prepend('<span class="iconfont icon-xiajiantou"></span>'); 10 } 11}); 12/*æ»å¨ç»é¡¶é¨æ·»å fixheader*/ 13$(window).scroll(function() { 14 var scrollTop = $(this).scrollTop(); 15 var scrollHeight = $(document).height(); 16 var windowHeight = $(this).height(); 17 18 if(scrollTop > 70){ 19 $('.defaultheader').addClass('fixheader'); 20 } else { 21 $('.defaultheader').removeClass('fixheader'); 22 } 23}); 24/*ä¸è½½åè¡¨æ·»å æµ®å¨*/ 25$(window).scroll(function() { 26 var scrollTop = $(this).scrollTop(); 27 var scrollHeight = $(document).height(); 28 var windowHeight = $(this).height(); 29 30 if(scrollTop > 70){ 31 $('.downnavlist').addClass('fixdownlist'); 32 } else { 33 $('.downnavlist').removeClass('fixdownlist'); 34 } 35}); 36/*ç¹ç¹å¹»ç¯*/ 37var swiper = new Swiper('.traitpart .swiper-container', { 38 loop : false, 39 autoplay: { 40 delay: 3000, 41 disableOnInteraction: false, 42 }, 43 pagination: { 44 el: '.traitpart .swiper-pagination', 45 clickable: true, 46 }, 47}); 48/*è¯ä»·å¹»ç¯*/ 49var swiper = new Swiper('.pingjia .swiper-container', { 50 loop : false, 51 slidesPerView: 1, 52 breakpoints: { 53 1000: { //å½å±å¹å®½åº¦å¤§äºçäº1000 54 slidesPerView: 3, 55 spaceBetween: 30 56 }, 57 }, 58 spaceBetween: 0, 59 autoplay: { 60 delay: 3000, 61 disableOnInteraction: false, 62 }, 63 pagination: { 64 el: '.pingjia .swiper-pagination', 65 clickable: true, 66 }, 67}); 68/*ææä¸è½½å¹»ç¯*/ 69var swiper = new Swiper('.alldownlist .swiper-container', { 70 slidesPerView: 1, 71 breakpoints: { 72 1000: { //å½å±å¹å®½åº¦å¤§äºçäº1000 73 slidesPerView: 3, 74 spaceBetween: 0 75 }, 76 }, 77 spaceBetween: 0, 78 centeredSlides: true, 79 loop: true, 80 autoplay: { 81 delay: 3000, 82 disableOnInteraction: false, 83 }, 84 navigation: { 85 nextEl: '.alldownlist .swiper-button-next', 86 prevEl: '.alldownlist .swiper-button-prev', 87 }, 88}); 89/*ç¾ç§tab忢*/ 90$(function(){ 91 $(".baiketop .bd li").eq(0).addClass("on"); 92 $(".baiketop .hd .hdbox").eq(0).addClass("active"); 93 $(".baiketop .bd li").off("click").on("click",function(){ 94 var index = $(this).index(); 95 $(this).addClass("on").siblings().removeClass("on"); 96 $(".baiketop .hd .hdbox").eq(index).addClass("active").siblings().removeClass("active"); 97 }); 98}); 99/*ææ¡£æå */ 100$(".doc-nav-list li i.icon").click(function(){ 101 $(this).parent().toggleClass("wd-state-open"); 102}); 103$('.doc-nav-list li.current_page_item').parents('li').addClass("wd-state-open"); 104/*ç§»å¨ç«¯èå*/ 105(function($,undefined){ 106 $(document).ready(function(){ 107 $('.nav__trigger').on('click', function(e){ 108 e.preventDefault(); 109 $(this).parent().toggleClass('nav--active'); 110 // $('.header').toggleClass('headerfullfix'); 111 }); 112 }); 113})(jQuery); 114$(".nav__list>li.menu-item-has-children").click(function(){ 115 $(this).toggleClass('show'); 116 $(this).siblings().removeClass("show"); 117}); 118 119// /*帮å©ä¸å¿*/ 120// $(".wedocs-single-content .tools").click(function(){ 121// $(".wedocs-single-content").toggleClass("open"); 122// $(".wedocs-sidebar").toggleClass("show"); 123// });
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.