PageSourceSearch

https://xiaoyezi.com/vendor/js/jquery.common.js?v=20180619

js xiaoyezi.com collected 2026-09-24 13:28:06 UTC 948 bytes, 41 lines download raw bytes

1$(function(){
2
3  //处理顶部导航
4  $('.m-nav>li').on('mouseenter', function(e) {
5    var name = $(this).data("name");
6    var $subnav = $("#" + name + "-cont");
7    setTimeout(function() {
8      if (name) {
9        if (name === "product") {
10          $subnav.css('height', 360);
11
12        } else if(name === "piano") {
13          $subnav.css('height', 115);
14        }else{
15          $subnav.css('height', 180);
16        }
17      } else {
18        $subnav.css('height', 0);
19      }
20    }, 100);
21  }).on('mouseleave', function() {
22    var name = $(this).data("name");
23    var $subnav = $("#" + name + "-cont");
24    setTimeout(function() {
25      if (name) {
26        $subnav.css('height', 0);
27      }
28    }, 100);
29  });
30
31  //顶部二级导航
32  $('.m-nav .m-subnav .list').hover(function(){
33    var index=$(this).data('index'),
34      products=$('.m-subnav .product>a');
35    products.hide();
36    products.eq(index).show();
37  },function(){
38
39  });
40  
41});

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.