1$(function () { 2 new WOW().init(); // wowåå§å 3 ys.phNavInit(4);// ç§»å¨ç«¯å¯¼èª 4 ys.navSlide();// pc端导èªé»è®¤ä¸æä¸çº§ 5 ys.yxlenis(1.2, true); 6 ys.screenh(); // ç§»å¨ç«¯å±å¹é«åº¦ 7 // 导èªä¸å¨é¡¶é¨æ¶å ç±»åisfixed,hoveræ¶å ç±»åishover 8 ys.isFixed(".ys-hd-pc"); 9 ys.isFixed(".ys-hd-ph"); 10 // search 11 ys.pcSearch(3); 12 // lang 13 ys.lang('.head-lang', '.head-lang-down'); 14 // åºé¨äºç»´ç pc hoverçli ph ç¹å»çæé® äºç»´ç çå 15 ys.footershare(".footer-share li", '.footer-share-btn', '.footer-share-code'); 16 // ys.navSlide2('hoverç±»å','å éä¸ç±»åçç±»å',"éä¸ç±»å,å¦ï¼yxnav-active2"); 17 if (window.innerWidth < 1200) { 18 ys.footernav(); // åºé¨å¯å¯¼èªç§»å¨ç«¯ï¼ä¸ºtrue,ç¹å»ä¸çº§å¯¼èªä¸è·³è½¬ï¼é»è®¤false,ç¹å»ä¸çº§å¯¼èªè·³è½¬ 19 } 20 // è½½å ¥ 21 ys.fadeup1('.ys-upfade1', 'ys-fade-true', 50); 22 ys.playVideopc('.ys-video-pc'); // ä» pcææ¾è§é¢ï¼ç§»å¨ç«¯éè 23 ys.videomodal(".ys-video-modal"); // è§é¢å¼¹çª 24}); 25 26$('.mfsl-icon').hover(function () { 27 $(this).siblings('.mfsl-code').stop().slideDown(); 28}, function () { 29 $(this).siblings('.mfsl-code').stop().slideUp(); 30}); 31 32// 33$(".head-nav-item-pop1 .hnip-wrap-ri").mCustomScrollbar({ 34 theme: 'dark', 35 scrollInertia: 500, 36 horizontalScroll: false, 37 scrollbarPosition: "outside", 38 axis: "y", 39}); 40 41 42 43$('.hwlb-link').hover(function () { 44 var index = $(this).index(); 45 $(this).addClass('yxnav-active2').siblings().removeClass('yxnav-active2'); 46 $('.hnip-wrap-ri-li').eq(index).addClass('on').siblings().removeClass('on'); 47 $('.hwlt-li').eq(index).addClass('on').siblings().removeClass('on'); 48}); 49 50$('.head-nav-item-pop').hover(function(){ 51 52},function(){ 53 $('.hnip-wrap-ri-li').removeClass('on'); 54 $('.hwlt-li').removeClass('on'); 55 $('.hwlb-link').removeClass('yxnav-active2'); 56 $('.hwlb-link.act').addClass('yxnav-active2'); 57 $('.hnip-wrap-ri-li.act').addClass('on'); 58 $('.hwlt-li.act').addClass('on'); 59}); 60 61$('.hwrl-ul-li').hover(function(){ 62 $(this).addClass('yxnav-active3').siblings().removeClass('yxnav-active3'); 63},function(){ 64 $(this).removeClass('yxnav-active3'); 65 $('.hwrl-ul-li.act').addClass('yxnav-active3'); 66}) 67 68$('.head-nav-item').hover(function(){ 69 $(this).find('.head-nav-item-pop').stop().slideDown(); 70},function(){ 71 $(this).find('.head-nav-item-pop').stop().slideUp(); 72}); 73 74$('.head-nav-item-pop').each(function(index,item){ 75 if ($(item).find(".hnip-wrap-ri-li.act").length < 1) { 76 $(item).find(".hnip-wrap-ri-li:nth-child(1)").addClass("act on") 77 $(item).find(".hwlt-li:nth-child(1)").addClass("act on") 78 } 79}); 80 81// 2026.8.31 helen star 82$(window).on('scroll', function() { 83 if ($(this).scrollTop() > 180) { 84 $('.navt-pop').addClass('is-on'); 85 }else{ 86 $('.navt-pop').removeClass('is-on'); 87 } 88}); 89 90 91$('.navt-pop-btm').click(function(){ 92 ys.lenisTo(800,0); 93});
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.