PageSourceSearch

https://onbuka.com/duanxin/js/public.js?v=1.1

js onbuka.com collected 2026-10-04 05:21:07 UTC 1,849 bytes, 54 lines download raw bytes

1$(window).scroll(function() {
2    if ($(window).scrollTop() > 0) { // 导航效果
3        $("#header").addClass("is_scrolled");
4    } else {
5        $("#header").removeClass("is_scrolled");
6    }
7    if ($(".map-wrap").length > 0) { // 首页地图模块LOGO滚动显示切换
8        if ($(".map-wrap").offset().top - 20 < $(window).scrollTop()) {
9            $(".map-img").hide();
10            $(".logo-group").show();
11        } else {
12            $(".map-img").show();
13            $(".logo-group").hide();
14        }
15    }
16    if ($(window).scrollTop() > 100) {
17        $('.topBack').removeClass('back');
18    } else {
19        $('.topBack').addClass('back');
20    }
21
22});
23
24$(".swich-btn").on("click", function() {
25    // 移动端导航展开收缩
26    if ($(this).hasClass("open-nav")) {
27        $(this).removeClass("open-nav");
28        $('#header').removeClass('is_open')
29        $(".s-nav-list").hide();
30        $(".shadow").hide();
31    } else {
32        $(this).addClass("open-nav");
33        $('#header').addClass('is_open')
34        $(".s-nav-list").show();
35        $(".shadow").show();
36    }
37});
38$(".s-nav-item").on("click", function() {
39    // 移动端二级导航收缩
40    $(this).siblings().find(".s-s-nav-list").hide();
41    $(this).find(".s-s-nav-list").toggle();
42});
43
44let title = $('title').html();
45let titleStr = title.replace("&amp;#039;","'");
46$('title').html(titleStr);
47
48/*if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
49  $("#slide ul li").eq(0).children().attr('src','d/file/p/2022/06-13/banner2.webp');
50  $("#slide ul li").eq(2).children().attr('src','d/file/p/2022/06-13/banner2.webp');
51  $("#slide ul li").eq(1).children().attr('src','d/file/p/2022/06-13/banner1.webp');
52  $("#slide ul li").eq(3).children().attr('src','d/file/p/2022/06-13/banner1.webp');
53} */ 
54

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.