jquery实现左侧可折叠带图标多级垂直菜单效果代码

代码语言:html

所属分类:菜单导航

代码描述:jquery实现左侧可折叠带图标多级垂直菜单效果代码

代码标签: 可折叠 图标 多级 垂直 菜单 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
    <style>
        @font-face {font-family: "my-icon";
          src: url('iconfont.eot?t=1507649649871'); /* IE9*/
          src: url('iconfont.eot?t=1507649649871#iefix') format('embedded-opentype'), /* IE6-IE8 */
          url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAACLYAAsAAAAAMiAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZXRkpUY21hcAAAAYAAAAFoAAAEAG/NFElnbHlmAAAC6AAAHJ4AACdACFxvGWhlYWQAAB+IAAAALwAAADYPJVaKaGhlYQAAH7gAAAAdAAAAJAfeA6dobXR4AAAf2AAAABsAAACIh+8AAGxvY2EAAB/0AAAARgAAAEavZqQ+bWF4cAAAIDwAAAAfAAAAIAE7Ah9uYW1lAAAgXAAAAUkAAAJhOV4a03Bvc3QAACGoAAABMAAAAdaC0WjfeJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2BkYWCcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGBwYKl7EMzf8b2CIYW5muAEUZgTJAQDdpwwxeJzFkz1OAmEQhp8VxB8QBRURRUFKqayMlTEegAMQbWy8gCH0tEBFLDyGJb2lt3jlFjjDEAzGypj4TZ7NfvPt7M7Pu8AqkDKaRhpWHkjsjuTOvMnMn2Jz5k8nF7a/pGbPlekIpZVVXkWVVFZFVTXUVEttPepJXfU01EjPetVYb3r/6E/up1N7w1dkYRFZ0/lS5ODHyN+sxDL+squFXXOzZLffzCM32WXNaj3ihEMy1qsKOU6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OEcF7jEFa5xgzFucYd7POART3jGBC8Wdu1C004yFY/DbF3QUjItiC2Z8oMVLbnyFwt/mAuu4pISaZ6hNinn2WBt4IrLXMhSq9gpSIaCujLUKufFdB74Nfan7+1QGNJeSPcIZk5EKmWyfyy8hjot6/Zbzyw1ORQyIVWX517IZMRUwhSTqawE6l5gs4RlazvVW57Z1Y25u9VZEm1lxO0gYhtyj25nTnW0IC9i2pz9sQt5UnmPuXPYaG9I7WmUC005acMSZqoy1Po080Zm+JO/5UpN3u9/XrH/MPakLesLACmLNA==') format('woff'),
          url('iconfont.ttf?t=1507649649871') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
          url('iconfont.svg?t=1507649649871#my-icon') format('svg'); /* iOS 4.1- */
        }
        
        .my-icon {
          font-family:"my-icon" !important;
          font-size:16px;
          font-style:normal;
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
        }
        
        .icon-touxiang:before { content: "\e62c"; }
        
        .icon-crmtubiaohuaban35fuben3773:before { content: "\e85f"; }
        
        .icon-shengyuliuliang:before { content: "\e650"; }
        
        .icon-user:before { content: "\e61a"; }
        
        .icon-mianfeishiyong:before { content: "\e618"; }
        
        .icon-tuichu:before { content: "\e60b"; }
        
        .icon-iconset0253:before { content: "\e698"; }
        
        .icon-iconset0308:before { content: "\e6cf"; }
        
        .icon-chongzhi:before { content: "\e600"; }
        
        .icon-chongzhi1:before { content: "\e676"; }
        
        .icon-dunpai:before { content: "\e620"; }
        
        .icon-chongzhi-copy:before { content: "\e78e"; }
        
        .icon-chongzhi4:before { content: "\e6b4"; }
        
        .icon-shezhichilun:before { content: "\e62b"; }
        
        .icon-chongzhi2:before { content: "\e6c7"; }
        
        .icon-caidanlanaipinpai:before { content: "\e68f"; }
        
        .icon-chongzhi5:before { content: "\e67a"; }
        
        .icon-alarm:before { content: "\e604"; }
        
        .icon-power:before { content: "\e65c"; }
        
        .icon-users:before { content: "\e685"; }
        
        .icon-worldwide:before { content: "\e690"; }
        
        .icon-5daqu:before { content: "\e669"; }
        
        .icon-touxiang1:before { content: "\e60e"; }
        
        .icon-yonghu:before { content: "\e616"; }
        
        .icon-daochuExcelbiaoge:before { content: "\e61d"; }
        
        .icon-chilun:before { content: "\e611"; }
        
        .icon-qunzu:before { content: "\e696"; }
        
        .icon-shousuodaohangicon:before { content: "\e6bc"; }
        
        .icon-jiantou:before { content: "\e612"; }
        
        .icon-jiantouxiangyou:before { content: "\e621"; }
        
        .icon-jiantouxiangshang:before { content: "\e622"; }
        
        .icon-jiantouxiangzuo:before { content: "\e623"; }
        
        @charset "utf-8";
        /* 以下实际使用若已初始化可删除 .lsm-sidebar height父级需逐级设置为100%*/
        body,html{height: 100%;background: #E2E2E2}
        body,ul{margin:0;padding:0}
        body{font:14px "微软雅黑","宋体","Arial Narrow",HELVETICA;-webkit-text-size-adjust:100%;}
        li{list-style:none}
        a{text-decoration:none;}
        /* 以上实际使用若已初始化可删除 */
        
        /* lsm-sidebar */
        .left-side-menu,.lsm-popup.lsm-sidebar   ul li, .lsm-container.lsm-mini .lsm-sidebar>ul>li.lsm-sidebar-item>ul>li.lsm-sidebar-item>ul{
            background: #3b3e47;
        }
        
        
        .left-side-menu {-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none; user-select: none; }
        .left-side-menu{height: calc(100% - 80px);width: 220px;}
        .lsm-expand-btn{height: 65px;}
        .lsm-container {height: calc(100% - 65px); transition: all .3s;z-index: 100}
        
        .lsm-container li>a.active{ background: #c55b03; color: #fff; }
        
        
        .lsm-sidebar a{display: block;overflow: hidden;padding-left: 20px;line-height: 40px;max-height: 40px;color: #b2b8be;transition: all .3s;}
        .lsm-container ul:first-child > li> a, .lsm-container ul:first-child > li> a span{ line-height: 55px;max-height: 55px; }
        .lsm-sidebar a span{margin-left: 30px;}
        .lsm-sidebar .lsm-sidebar-item .lsm-sidebar-item >ul>li a span{margin-left: 60px;}
        .lsm-sidebar-item{position: relative;}
        .lsm-sidebar-item.lsm-sidebar-show{border-bottom: none;}
        .lsm-sidebar-item ul{display: none;background: rgba(0,0,0,.1);}
        .lsm-sidebar-item.lsm-sidebar-show ul{display: block;}
        .lsm-sidebar-item>a:before{content: "";position: absolute;left: 0px;width: 2px;height: 40px;background: #34A0CE;opacity:0;transition: all .3s;}
        .lsm-container ul:first-child>li.lsm-sidebar-item>a:before{height: 55px;}
        .lsm-sidebar .lsm-sidebar-icon{font-size: 20px;position: absolute;margin-left:-1px;}
        /* 此处修改导航图标 可自定义iconfont 替换*/
        .icon_1::after{content: "\e62b";}
        .icon_2::after{content: "\e669";}
        .icon_3::after{content: "\e61d";}
        .icon_3::after{content: "\e698";}
        
        .lsm-sidebar-more{float:right;margin-right: 20px;font-size: 12px;transition: transform .3s;}
        
        /* 导航右侧箭头 换用其他字体需要替换*/
        .lsm-sidebar-more::after{content: "\e621";}
        
        
        .lsm-sidebar-show > a > i.my-icon.lsm-sidebar-more{transform:rotate(90deg);}
        .lsm-sidebar-show,.lsm-sidebar-item>a:hover{color: #FFF;background: rgba(0, 0, 0, 0.2);}
        .lsm-sidebar-show>a:before,.lsm-sidebar-item>a:hover:before{opacity:1;}
        .lsm-sidebar-item li>a:hover,.lsm-popup>div>ul>li>a:hover{color: #FFF; background: #6e809c;}
        .lsm-mini-btn{height: 70px;width: 70px;}
        .lsm-mini-btn svg{margin: -10px 0 0 -10px;}
        .lsm-mini-btn input[type="checkbox"]{display: none;}
        
        .lsm-mini-btn path {
            fill: none;
            stroke: #ffffff;
            stroke-width: 3;
            stroke-linecap: round;
            stroke-linejoin: round;
            --length: 24;
            --offset: -38;
            stroke-dasharray: var(--length) var(--total-length);
            stroke-dashoffset: var(--offset);
            transition: all .8s cubic-bezier(.645, .045, .355, 1);
        }
        
        .lsm-mini-btn circle {fill: #fff3;opacity: 0;}
        .lsm-mini-btn label {top: 0; right: 0;}
        .lsm-mini-btn label:hover circle {opacity: 1;}
        .lsm-mini-btn input:checked+svg .line--1, .lsm-mini-btn input:checked+svg .line--3 {--length: 8.602325267;}
        .lsm-mini-btn .line--1, .lsm-mini-btn .line--3 {--total-length: 126.38166809082031;}
        .lsm-mini-btn .line--2 {--total-length: 80;}
        .lsm-mini-btn input:checked+svg .line--1, .lsm-mini-btn input:checked+svg .line--3 {--offset: -109.1770175568;}
        
        .lsm-mini .lsm-container, .lsm-mini .lsm-container{width: 60px;}
        .lsm-container.lsm-mini .lsm-sidebar .lsm-sidebar-icon{/* margin-left:-2px; */}
        .left-side-menu.lsm-mini ul:first-child>li.lsm-sidebar-item>a span{display: none;}
        .left-side-menu.lsm-mini ul:first-child>li.lsm-sidebar-item>a> i.lsm-sidebar-more{margin-right: -20px;}
        
        .lsm-container.lsm-mini .lsm-sidebar>ul>li.lsm-sidebar-item>ul>li.lsm-sidebar-item>ul{
            display:none;
            position: absolute;top:0px;left:180px;width: 180px;z-index: 99;
            bottom: 0px;
            top: 0px;
            overflow: hidden;
        }
        .left-side-menu.lsm-mini ul:first-child > li > ul{
            display: none;
        }
        .transform { -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1); }
        .lsm-popup div{background: #05161f;}
        .lsm-popup{
            display: block;
            position: absolute;
            border: 3px solid rgba(60, 71, 76, 0);
        }
        
        .lsm-popup > div > a > i.my-icon.lsm-sidebar-more{
            transform:rotate(90deg);
        }
        
        .lsm-popup.second{
            left: 60px;
        }
        .lsm-popup.third{
            left: 243px;
        }
        .lsm-popup.third.lsm-sidebar > div > ul {
            display: block;
        }
        .lsm-popup div {
            border-radius: 5px;
        }
        .lsm-popup .lsm-sidebar-icon{
            display: none;
        }
        .lsm-popup.lsm-sidebar a span{
            margin-left: 0px;
        }
        .lsm-popup.lsm-sidebar > div > ul > li.lsm-sidebar-item>ul{position: absolute;top:0px;left:180px;width: 180px;z-index: 99;}
        
        .lsm-popup.lsm-sidebar   ul {
            width: 180px;
        }
        .lsm-popup.lsm-sidebar   ul li{
            width: 180px;
        }
        .lsm-popup.lsm-sidebar ul li:last-child, .lsm-popup>div>ul>li:last-child>a{
            border-radius: 0 0 5px 5px ;
        }
    </style>

    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.1.11.min.js"></script>
    <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/jquery.slimscroll.min.js"></script>
    <script type="text/javascript">
        $(function(){
    $('.lsm-scroll').slimscroll({
        height: 'auto',
        position: 'right',
        railOpacity: 1,
        size: "5px",
        opacity: .4,
        color: '#fffafa',
        wheelStep: 5,
        touchScrollStep: 50
    });
    $('.lsm-container ul ul').css("display", "none");
    // lsm-sidebar收缩展开
    $('.lsm-sidebar a').on('click',function(){
        $('.lsm-scroll').slimscroll({
            height: 'auto',
            position: 'right',
            size: "8px",
            color: '#9ea5ab',
            wheelStep: 5,
            touchScrollStep: 50
        });
        if (!$('.left-side-menu').hasClass('lsm-mini')) {
            $(this).parent("li").siblings("li.lsm-sidebar-item").children('ul').slideUp(200);
            if ($(this).next().css('display') == "none") {
                //展开未展开
                // $('.lsm-sidebar-item').children('ul').slideUp(300);
                $(this).next('ul').slideDown(200);
                $(this).parent('li').addClass('lsm-sidebar-show').siblings('li').removeClass('lsm-sidebar-show');
            }else{
                //收缩已展开
                $(this).next('ul').slideUp(200);
                //$('.lsm-sidebar-item.lsm-sidebar-show').removeClass('lsm-sidebar-show');
                $(this).parent('li').removeClass('lsm-sidebar-show');
            }
        }
    });
    //lsm-mini
    $('.lsm-mini-btn svg').on('click',function(){
        if ($('.lsm-mini-btn input[type="checkbox"]').prop("checked")) {
            $('.lsm-sidebar-item.lsm-sidebar-show').removeClass('lsm-sidebar-show');
            $('.lsm-container ul').removeAttr('style');
            $('.left-side-menu').addClass('lsm-mini');
            $('.left-side-menu').stop().animate({width : 60},200);
        }else{
            $('.left-side-menu').removeClass('lsm-mini');
            $('.lsm-container ul ul').css("display", "none");
            $('.left-side-menu').stop().animate({width: 240},200);
        }

    });

    $(document).on('mouseover','.lsm-mini .lsm-container ul:first>li',function(){
        $(".lsm-popup.third").hide();
        $(".lsm-popup.second").length == 0 && ($(".lsm-container").append("<div class='second lsm-popup lsm-sidebar'><div></div></div>"));
        $(".lsm-popup.second>div").html($(this).html());
        $(".lsm-popup.second").show();
        $(".lsm-popup.third").hide();
        var top = $(this).offset().top;
        var d = $(window).height() - $(".lsm-popup.second>div").height();
        if(d - top <= 0 ){
            top  = d >= 0 ?  d - 8 : 0;
        }
        $(".lsm-popup.second").stop().animate({"top":top}, 100);
    });

    $(document).on('mouseover','.second.lsm-popup.lsm-sidebar > div > ul > li',function(){
        if(!$(this).hasClass("lsm-sidebar-item")){
            $(".lsm-popup.third").hide();
            return;
        }
        $(".lsm-popup.third").length == 0 && ($(".lsm-container").append("<div class='third lsm-popup lsm-sidebar'><div></div></div>"));
        $(".lsm-popup.third>div").html($(this).html());
        $(".lsm-popup.third").show();
        var top = $(this).offset().top;
        var d = $(window).height() - $(".lsm-popup.third").height();
        if(d - top <= 0 ){
            top  = d >= 0 ?  d - 8 : 0;
        }
        $(".lsm-popup.third").stop().animate({"top":top}, 100);
    });

    $(document).on('mouseleave','.lsm-mini .lsm-container ul:first, .lsm-mini .slimScrollBar,.second.lsm-popup ,.third.lsm-popup',function(){
        $(".lsm-popup.second").hide();
        $(".lsm-popup.third").hide();
    });

    $(document).on('mouseover','.lsm-mini .slimScrollBar,.second.lsm-popup',function(){
        $(".lsm-popup.second").show();
    });
    $(document).on('mouseover','.third.lsm-popup',function(){
        $(".lsm-popup.second").show();
        $(".lsm-popup.third").show();
    });
});
    </script>

</head>

<body>
    <div class="top" style="width: 100%;height: 80px;background-color: #397bc5"></div>
    <div class="left-side-menu">
        <div class="lsm-expand-btn">
            <div class="lsm-mini-btn">
                <label>
                <input type="checkbox" checked="checked">
                <svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
                    <circle cx="50" cy="50" r="30" />
                    <path class="line--1" d="M0 40h62c18 0 18-20-17 5L31 55" />
                    <path class="line--2" d="M0 50h80" />
                    <path class="line--3" d="M0 60h62c18 0 18 20-17-5L31 45" />
                </svg>
            </label>

            </div>
            <!--        <input type="text"/>-->

        </div>
        <div class="lsm-container">
            <div class="lsm-scroll">
                <div class="lsm-sidebar">
                    <ul>
                        <li class="lsm-sidebar-item">
                            <a href="javascript:;"><i class="my-icon lsm-sidebar-icon icon_1"></i><span>系统设置</span><i class="my-icon lsm-sidebar-more"></i></a>
                            <ul>
                                <li><a href="javascript:;"><span>地爆天星</span></a></li>
                                <li><a class="active" href="javascript:;"><span>无线月读</span></a></li>
                                <li><a href="javascript:;"><span>一乐拉面</span></a></li>
                                <li class="lsm-sidebar-item">
                                    <a href="javascript:;"><i class="my-icon lsm-sidebar-icon "></i><span>二级菜单11</span><i class="my-icon lsm-sidebar-more"></i></a>
               .........完整代码请登录后点击上方下载按钮下载查看

网友评论0