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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/data/wwwroot/2026_03_30_01/skin/js/common.js
// 头部
$(".menu-button")
    .on("click", function (e) {
        
        $(this)
            .toggleClass("cur");
        $('.flexnav')
            .toggleClass('show');
        e.stopPropagation();
    });
$(function () {
    $(".header .bocweb-nav .nav0")
        .on("click", function (e) {
            $(".header-down")
                .addClass("active");
            e.stopPropagation();
        })
    $(".nav_btn_wrap .nav_btn")
        .on("click", function (e) {
            $(".header-down")
                .addClass("active");
            e.stopPropagation();
        })
    
    $(document)
        .on("click", function () {
            $(".header-down")
                .removeClass("active");
        })
    $(".header-down .cha")
        .on("click", function () {
            $(".header-down")
                .removeClass("active");
            
        })
    $(".header-down .downbox")
        .on("click", function (e) {
            e.stopPropagation();
        })
    
    $(".fixed-erweima")
        .on("click", function (e) {
            $(this)
                .fadeOut(1100);
            $(".fixed-erweima .imgbox")
                .delay(1200)
                .removeClass('active');
        })
    $(".fixed-erweima .imgbox")
        .on("click", function (e) {
            e.stopPropagation();
        })
    
    $(".wxk0")
        .on("click", function () {
            $(".fixed-erweima")
                .fadeIn(1100);
            $(".header-down")
                .removeClass("active");
            $(".fixed-erweima .imgbox")
                .delay(1500)
                .addClass('active');
        })
});
$(function () {
    $("header .top_tel")
        .click(function () {
            $(".top_tel p")
                .toggle(400);
        });
});
//手机端头部导航
$(".flexnav li 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();
        }
    });

$(document)
    .ready(function () {
        
        $(".top_search_icon")
            .on("click", function () {
                $(".search_wrap")
                    .show(300);
                
            })
        $(".search_close")
            .on("click", function () {
                $(".search_wrap")
                    .hide(300);
            })
    });
//banenr切换
var swiper1 = new Swiper('.apple-banner .swiper-container', {
    autoplay: 5000, //自动播放时间
    loop: true, //开启循环true or false
    slidesPerView: 1, //列数
    spaceBetween: 0, //slides之间间隔
    breakpointsInverse: true
    , nextButton: '.apple-banner .swiper-button-next'
    , prevButton: '.apple-banner .swiper-button-prev'
    , pagination: '.apple-banner .swiper-pagination'
    , observer: true
    , observeParents: true
    , autoplayDisableOnInteraction: false
    , paginationClickable: true
    , breakpoints: {
        320: {
            slidesPerView: 1
            , spaceBetween: 0
        }
        , 767: {
            slidesPerView: 1
            , spaceBetween: 0
        }
        , 1080: {
            slidesPerView: 1
            , spaceBetween: 0
        }
        , 1200: {
            slidesPerView: 1
            , spaceBetween: 0
        }
    }
});
//首页推荐产品切换
var swiper2 = new Swiper('.adminbuy_tjpro .swiper-container2', {
    autoplay: 3000, //自动播放时间
    loop: true, //开启循环true or false
    slidesPerView: 4, //列数
    spaceBetween: 32, //slides之间间隔
    breakpointsInverse: true
    , paginationClickable: true
    , observer: true
    , observeParents: true
    , autoplayDisableOnInteraction: false
    , breakpoints: {
        550: {
            slidesPerView: 2
            , spaceBetween: 10
        }
        , 767: {
            slidesPerView: 2
            , spaceBetween: 20
        }
        , 1199: {
            slidesPerView: 3
            , spaceBetween: 20
        }
        , 1366: {
            slidesPerView: 4
            , spaceBetween: 20
        }
    , }
});

//首页新闻切换
$(document)
    .ready(function () {
        $('.adminbuy_zxzx .zxzxtop .btn p')
            .click(function () {
                var liindex = $('.adminbuy_zxzx .zxzxtop .btn p')
                    .index(this);
                $(this)
                    .addClass('on')
                    .siblings()
                    .removeClass('on');
                $('.adminbuy_zxzx ul')
                    .eq(liindex)
                    .fadeIn(150)
                    .siblings('.adminbuy_zxzx ul')
                    .hide();
            });
        
    });
// 客服
$('.kfview .kftop')
    .click(function () {
        $('html,body')
            .animate({ scrollTop: 0 }, 500);
        return false
    })
$(function () {
    var _index = 0;
    $('.kfbtn')
        .click(function () {
            if (_index == 0) {
                _index = 1
                $('.kfMain')
                    .css({
                        'height': '0'
                        , 'overflow': 'hidden'
                    })
                $('.kfbtn p')
                    .html(function () {
                        return '<i class="kfOpen"></i>'
                    })
            } else {
                _index = 0
                $('.kfMain')
                    .css({
                        'height': 'auto'
                        , 'overflow': 'inherit'
                    })
                $('.kfbtn p')
                    .html(function () {
                        return '<i class="kfhidd"></i>'
                    })
            }
        })
})
if(document.body.clientWidth <= 1079){  
	$(".cp_type .hd").click(function () {
		if($(this).hasClass('on')){
			$(this).next('div.bd').removeAttr("style");
			$(this).removeClass('on').next('div.bd').stop().slideUp();
		}else{
			$(this).next('div').removeAttr("style");
			$(this).addClass('on').next('div.bd').stop().slideDown();
		}
	});
}

Youez - 2016 - github.com/yon3zu
LinuXploit