403Webshell
Server IP : 156.238.232.47  /  Your IP : 216.73.216.150
Web Server : nginx/1.25.3
System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : www ( 1000)
PHP Version : 8.3.25
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/data/wwwroot/2026_03_31_03/skin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/2026_03_31_03/skin/js/myjs.js
$(function () {
    var winW = $(window).width();
    var winH = $(window).height();
    var win_t = $(window).scrollTop();
    var b_t = 0;
    var img_index = 0;

    /* 导航 */
    $('.header-bream').click(function () {
        var header_bream = $(this).attr('data-off');
        if (header_bream == 0) {
            $(this).attr('data-off', 1);
            b_t = win_t;
        } else {
            $(this).attr('data-off', 0);
            $('body,html').animate({
                scrollTop: b_t
            }, 0)
        }
        $('.header-bream').toggleClass('on');
        $('.nav-toggle').slideToggle();
        $('.header-search').stop().slideUp();
    });

    $('.nav-down .div-01').parents('.nav-down').siblings('.span-a1').find('.bdo-mc').show();

    $('.h-search').click(function(){
        $('.header-search').stop().slideToggle();
    });
    $('.header-search .span-close').click(function(){
        $('.header-search').stop().slideUp();
    });

    $('.nav-down').siblings('.span-a1').addClass('on');
    $('.nav-list ul').siblings('.span-a1').find('.bdo-icon').addClass('on');
    $('.nav-list li').hover(function(){
        $(this).find('.nav-down').toggleClass('on');
    });
    $('.nav-down .div-01').hover(function(){
        $(this).find('.div-down').toggleClass('on');
    });
    $('.nav-list .span-a1 .bdo-mc').click(function(){
        $(this).parents('.span-a1').toggleClass('on2');
        $(this).parents('.span-a1').siblings('.nav-down').slideToggle();
        $(this).parents('li').siblings().find('.span-a1').removeClass('on2');
        $(this).parents('li').siblings().find('.nav-down').slideUp();
    });

    $('.contact-form .span-title').click(function(){
        $(this).hide();
        $(this).siblings('.put-01,.text-01').focus();
    });

    $('.contact-form .put-01').blur(function(){
        if($(this).val().length != 0){

        }else{
            $(this).siblings('.span-title').show();
        }

    });

    // $('.culture-01').eq(2).addClass('on');
    // $('.culture-01').mouseover(function(){
    //     $(this).addClass('on').siblings().removeClass('on');
    // });

    $('.job-list .div-t').click(function(){
        $(this).parents('li').addClass('on').siblings().removeClass('on');
        $(this).siblings('.div-bottom').stop().slideToggle();
        $(this).parents('li').siblings().find('.div-bottom').stop().slideUp();
    });

    $('.public-close').click(function(){
        $('body,html').animate({
            scrollTop: b_t
        }, 0);
        $('.public-tc').slideUp();
        $('.public-mc').fadeOut();
        $('body').removeClass('on');
    });

    $('.public-tc-open').click(function(){
        b_t = win_t;
        $('.public-tc').slideDown();
        $('.public-mc').fadeIn();
        $('body').addClass('on');
    });

    $('.notice-menu .div-title .span-mc').click(function(){
        $(this).parents('.div-title').siblings('.div-list').stop().slideToggle();
    });
    $('.y-video .div-mc').click(function(){
        $(this).hide();
        var y_video = document.getElementById("y-video"); 
        y_video.play(); 
    });

  
    $(window).scroll(function () {
        win_t = $(window).scrollTop();
        if (win_t > 20) {
            $('.header').addClass('scroll');
        } else {
            $('.header').removeClass('scroll');
        }

        if(win_t > $(window).height()){
            $('.index-scroll').stop().fadeOut();
        }else{
            $('.index-scroll').stop().fadeIn();
        }
    });

    function resizeChange() {
        winW = $(window).width();
        winH = $(window).height();

    };

    function y_onload() {
        winW = $(window).width();
        winH = $(window).height();

        if (win_t > 20) {
            $('.header').addClass('scroll');
        } else {
            $('.header').removeClass('scroll');
        }
    };

    $(window).resize(function () {
        winW = $(window).width();
        winH = $(window).height();
        resizeChange();
        y_onload();
        


    });

    $(window).load(function () {
        winW = $(window).width();
        winH = $(window).height();
        resizeChange();
        y_onload();
        
    });

});
$(function () {

    /* 首页banner */
    $('.banner-owl').owlCarousel({
        loop: true,
        margin: 0,
        dots: true,
        nav: false,
        items: 1,
        animateOut: 'fadeOut',
        autoplay: true,
        autoplayTimeout: 7000,
        autoplayHoverPause: false
    });

     $('.control-owl').owlCarousel({
        loop: false,
        margin:10,
        dots: false,
        nav: false,
        items: 3,
        responsive: {
            0: {
                items: 1,
                margin: 5,
                loop: true,
                autoplay: true,
                autoplayTimeout: 2500,
                autoplayHoverPause: true,
                smartSpeed:500,
            },
            768: {
                items: 2,
                margin: 10,
                loop: true,
                autoplay: true,
                autoplayTimeout: 2500,
                autoplayHoverPause: true,
                smartSpeed:500,
            },
            992: {
                items: 3,
                margin: 10,
                loop: false
            }
        }
    });

    /* 产品banner */
    $('.product-owl').owlCarousel({
        loop: true,
        margin: 0,
        dots: false,
        nav: true,
        items: 1,
        animateOut: 'fadeOut',
        autoplay: true,
        autoplayTimeout: 3500,
        autoplayHoverPause: true
    });

})

Youez - 2016 - github.com/yon3zu
LinuXploit