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/geo.961104.xyz/skin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/geo.961104.xyz/skin/js/main.js
/**



*/



!(function ($) {

  "use strict";



  /*----------------------------------------

Aos Activation Js

------------------------------------------*/

  AOS.init({

    duration: 1500, // values from 0 to 3000, with step 50ms

    disable: false, // accepts following values: 'phone', 'tablet', 'mobile', boolean, expression or function

    offset: 0, // offset (in px) from the original trigger point

    once: true,

    easing: 'ease',

    disable: 'mobile',

  });

  //

  if ($(".scroll-to-target").length) {

    $(".scroll-to-target").on("click", function () {

      var target = $(this).attr("data-target");

      // animate

      $("html, body").animate({

        scrollTop: $(target).offset().top,

      },

        1000

      );



      return false;

    });

  }





  $('.mobile-nav-btn').click(function(){

    $('.mobile-nav-main').show()

    $('.body').addClass('notScroll')

  });

  

  $('.mobile-nav-main .close').click(function(){

    $('.mobile-nav-main').hide()

    $('.body').removeClass('notScroll')

  });



  $('.mobile-nav-menu > ul > li > .menuicon').click(function(){

    $(this).parent().children('.ul1').toggle()

  });



  $('.mobile-nav-menu .ul1 > li > .menuicon').click(function(){

    $(this).parent().children('.ul2').toggle()

  });



   $('.mobile-nav-menu .ul2 > li > .menuicon').click(function(){

    $(this).parent().children('.ul3').toggle()

  });

  // window scroll event



  $(window).on("scroll", function () {

    if ($(".stricked-menu").length) {

      var headerScrollPos = 130;

      var stricky = $(".stricked-menu");

      if ($(window).scrollTop() > headerScrollPos) {

        stricky.addClass("stricky-fixed");

      } else if ($(this).scrollTop() <= headerScrollPos) {

        stricky.removeClass("stricky-fixed");

      }

    }

    if ($(".scroll-to-top").length) {

      var strickyScrollPos = 100;

      if ($(window).scrollTop() > strickyScrollPos) {

        $(".scroll-to-top").fadeIn(500);

      } else if ($(this).scrollTop() <= strickyScrollPos) {

        $(".scroll-to-top").fadeOut(500);

      }

    }

  });





 /* 返回顶部 */

  $(".return").on("click", function () {

    $("html,body").animate(

      {

        scrollTop: 0,

      },

      300

    );

  });



  /* 出现返回顶部 */

  $(window).scroll(function () {

    var scrollTop =

      document.documentElement.scrollTop || document.body.scrollTop;

    if (scrollTop >200) {

      $(".return").addClass("active");

    } else {

      $(".return").removeClass("active");

    }

  });



})(jQuery);











$(function () {

  // banner

  var swiper1 = new Swiper("#banner .swiper-container", {



    autoplay: 300,

    autoplay: {

      delay: 5000,

      stopOnLastSlide: false,

      disableOnInteraction: false,

    },

    speed: 1500,

    loop: true,

    navigation: {

      nextEl: ".banner-next",

      prevEl: ".banner-prev",

    },

    pagination: {

      el: "#banner .swiper-pagination",

      clickable: true,

    },



    on: {

      init: function () {

        swiperAnimateCache(this); //隐藏动画元素 

        swiperAnimate(this); //初始化完成开始动画

      },

      slideChangeTransitionEnd: function () {

        swiperAnimate(this); //每个slide切换结束时也运行当前slide动画

        //this.slides.eq(this.activeIndex).find('.ani').removeClass('ani'); 动画只展现一次,去除ani类名

      }

    }

  });



  //产品

var xcal = new Swiper(".xcal", {

  slidesPerView: 4,

  spaceBetween: 20,

  autoplay:10000,

  autoplay: {

    delay: 3000,

    stopOnLastSlide: false,

    disableOnInteraction: false,

  },

  speed: 1000,

  loop: true,

  // navigation: {

  //   nextEl: '.swiper-button-next',

  //   prevEl: '.swiper-button-prev',

  // },

   pagination: {

      el: ".product .swiper-pagination",

      clickable: true,

    },

  breakpoints: {

      360: {

        slidesPerView: 2,

        spaceBetween: 5,

      },

      480: {

        slidesPerView: 2,

        spaceBetween: 5,

      },

      640: {

        slidesPerView: 2,

        spaceBetween: 10,

      },

      768: {

        slidesPerView: 3,

        spaceBetween: 20,

      },



      990: {

        slidesPerView: 3,

        spaceBetween: 20,

      },



    },



});





  // 解决方案

  $('.jjfa_tit ul li').hover(function(){

    var index = $(this).index();

    $(this).addClass('active').siblings().removeClass('active');

    $('.jjfa_com ul').find('li').eq(index).show().siblings().hide();

  });



})







//优势




Youez - 2016 - github.com/yon3zu
LinuXploit