PageSourceSearch

https://www.yingkepe.com/Public/Cn/js/common.js

js yingkepe.com collected 2026-10-06 14:09:23 UTC 1,386 bytes, 57 lines download raw bytes

1// const { fchown } = require("fs");
2
3$(function () {
4    // wow初始化
5    new WOW().init();
6    ys.phNavInit(1);
7    // navFixed();
8    // navHovered();
9});
10
11// 导航不在顶部时加类名isfixed
12function navFixed() {
13    ys.isFixed(".ys_hd_pc");
14}
15// 鼠标经过导航时加类名ishovered
16function navHovered() {
17    ys.isHovered(".ys_hd_pc");
18}
19// 搜索
20$(".mhll_icon").click(function () {
21    $(".ys_search1_win").fadeIn(300);
22})
23$(".ys_close1").click(function () {
24    $(".ys_search1_win").fadeOut();
25})
26
27$('.mod_head_nav_li').hover(function () {
28    $(this).find('.mhnl_down').stop().fadeIn();
29}, function () {
30    $(this).find('.mhnl_down').stop().fadeOut();
31})
32
33ys.shareInit();
34
35$('.mod_head_nav_li').hover(function(){
36    $(this).siblings().removeClass('yxnav_active1');
37    $(this).addClass('yxnav_active1');
38},function(){
39    $(this).removeClass('yxnav_active1');
40    $('.mod_head_nav_li.on').addClass('yxnav_active1');
41});
42
43
44$('.mhnl_down_li').hover(function(){
45    $(this).siblings().removeClass('yxnav_active2');
46    $(this).addClass('yxnav_active2');
47},function(){
48    $(this).removeClass('yxnav_active2');
49    $('.mhnl_down_li.on').addClass('yxnav_active2');
50});
51
52
53$('.mod_head_nav_li').each(function(index,item){
54    if($(item).find('.mhnl_down').length > 0){
55        $(item).addClass('act');
56    }
57})

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.