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_01_30_02/skin/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/2026_01_30_02/skin/js/pt_js.js
/*产品目录 begin*/
/*产品目录第一个默认展开*/
$(function(){
	var element = $('.active');
		var className = element.attr('class');
		//alert(className)
		if(className=='active'){
			$('.active').parents('li').addClass('on');
			$('.active').parents('div').css('display','block')
		}
	
	});
$(".cp_type .bd ul li p span").click(function () {
	if($(this).parents('li').hasClass('on')){
		$(this).parents('li').removeClass('on').find('div').stop().slideUp();
	}else{
		$(this).parents('li').find('div').removeAttr("style");
		$(this).parents('li').addClass('on').find('div').stop().slideDown();
	}
});

if(document.body.clientWidth <= 767){  
	$(".cp_type .hd").click(function () {
		if($(this).hasClass('on')){
			$(this).next('div').removeAttr("style");
			$(this).removeClass('on').next('div').stop().slideUp();
		}else{
			$(this).next('div').removeAttr("style");
			$(this).addClass('on').next('div').stop().slideDown();
		}
	});
}	
/*产品目录 end*/

/*首页tab切换*/
$(".h_honor_box .hd span").hover(function(){
    $(this).addClass('on').siblings('span').removeClass('on');
	var h_honor_box_tab=$(this).index();
	$('.h_honor_box .bd ul').eq(h_honor_box_tab).show().siblings().hide();
},function(){
    
});

/*侧边漂浮*/
$(function() {
    var time;
    //var winHeight = top.window.document.body.clientHeight || $(window.parent).height();
    $('.client-2').css({
        'marginTop': -($('.client-2').height() / 2)
    });
    $('#client-2 li').bind({
        'mouseenter': function() {
            var scope = this;
            time = setTimeout(function() {
                var divDom = $(scope).children('div');
                var maxWidth = divDom.width();
                $(scope).stop().animate({
                    left: 77 - maxWidth
                },
                'normal',
                function() {
                    var pic = $(scope).find('.my-kefu-weixin-pic');
                    if (pic.length > 0) {
                        pic.show();
                    }
                });
            },
            100)
        },
        'mouseleave': function() {
            var pic = $(this).find('.my-kefu-weixin-pic');
            var divDom = $(this).children('div');
            var maxWidth = divDom.width();
            if (pic.length > 0) {
                pic.hide();
            }
            clearTimeout(time);
            var divDom = $(this).children('div');
            $(this).stop().animate({
                left: 0
            },
            "normal",
            function() {});
        }
    });
    //返回顶部
    $(window).scroll(function() {
        var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
        var eltop = $("#client-2").find(".my-kefu-ftop");
        if (scrollTop > 0) {
            eltop.show();
        } else {
            eltop.hide();
        }
    });
    $("#client-2").find(".my-kefu-ftop").click(function() {
        var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
        if (scrollTop > 0) {
            $("html,body").animate({
                scrollTop: 0
            },
            "slow");
        }
    });
});

<!--导航响应式按钮-->
$(function () {
	$(".menu_open").click(function () {
		$(".nav").animate({ 'left': '0' }, 400);
		$(".hcover").animate({ 'right': '0' }, 400);
	});
	$(".hcover").click(function () {
		$(this).animate({ 'right': '-50%' }, 400);
		$(".nav").animate({ 'left': '-50%' }, 400);
		$(".nav_ul").animate({ 'left': '0' }, 400);
		$('.nav_item_open').css('left', '-50%');
	});
	$(".nav_item i").click(function () {
		$(".nav_ul").animate({ 'left': '-100%' }, 400);
		$(this).next('.nav_item_open').css('left', '0');
	});
	$(".subopen").click(function () {
		$(this).parent('.nav_item_open').css('left', '-50%');
		$(".nav_ul").animate({ 'left': '0' }, 400);
	});

});

/*首页产品滚动*/
jQuery(function() {
	var c_slidesPerView;
	if(document.body.clientWidth <= 767){  
		c_slidesPerView=1;
	}
	else{  
		c_slidesPerView=1;
	}
	if($('.h_pro_tj_scoll .swiper-slide').length==0){
		$('.h_pro_tj_scoll .swiper-button-next').hide();
		$('.h_pro_tj_scoll .swiper-button-prev').hide();
	}
	if($('.h_pro_tj_scoll .swiper-slide').length>=c_slidesPerView){
	  var mySwiper1 = new Swiper('.h_pro_tj_scoll .swiper-container',{
		pagination: '.h_pro_tj_scoll .pagination',
		paginationClickable: true,
		slidesPerView: c_slidesPerView,
		loop: true,
		autoplay : 5000,
		autoplayDisableOnInteraction : false,
		calculateHeight : true,
		resizeReInit : true,
		roundLengths : true
	  })
	  $('.h_pro_tj_scoll .swiper-button-prev').on('click', function(e){
		e.preventDefault()
		mySwiper1.swipePrev()
	  })
	  $('.h_pro_tj_scoll .swiper-button-next').on('click', function(e){
		e.preventDefault()
		mySwiper1.swipeNext()
	  }) 
  }
});


Youez - 2016 - github.com/yon3zu
LinuXploit