修改jizhicms后台左侧菜单,静态写死

曹え 5811 发布于:2022-06-08 04:01:10

使用方法

在下面找到对应的菜单代码,粘贴替换下面文件

/app/admin/tpl/index.html

找到 

side-nav

替换div即可




精简版企业站

<div id="side-nav" class="layui-side-scroll">
        <ul id="nav" class="layui-nav-tree">
            <li>
                <a _href="/admin.php/Index/welcome.html">
                    <i class="layui-icon layui-icon-home"></i>
                    <cite>后台首页</cite>
                   
                </a>
               
            </li>
       
               
                            <li class="">
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>内容管理</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="display: none;">
                                                   
                    <li class="">
                                                <a _href="/admin.php/Article/articlelist.html"><cite>内容列表</cite></a>
                                            </li>
                   
                   
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li>
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>栏目管理</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="">
                                                   
                    <li>
                                                <a _href="/admin.php/Classtype/index.html"><cite>栏目列表</cite></a>
                                            </li>
                   
                   
                                   
                   
                </ul>
            </li>
           

           
                    <li>
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>SEO设置</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="">
                                                   
                    <li>
                                                <a _href="/admin.php/Extmolds/index/molds/tags.html"><cite>TAG列表</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Links/index.html"><cite>友情链接</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Index/sitemap.html"><cite>网站地图</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Jzchain/index.html"><cite>内链列表</cite></a>
                                            </li>
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li>
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>用户管理</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="">
   
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Admin/adminlist.html"><cite>管理员列表</cite></a>
                                            </li>
                   
                   
           
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li class="">
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>系统设置</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="display: none;">
                                                   
                    <li class="current">
                                                <a _href="/admin.php/Sys/index.html"><cite>网站设置</cite></a>
                                            </li>
                   
               
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Collect/index.html"><cite>轮播图</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Collect/collectType.html"><cite>轮播图分类</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Index/cleanCache.html"><cite>清理缓存</cite></a>
                                            </li>
                   
               
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li class="">
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>扩展管理</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="display: none;">
                                                   

                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Index/beifen.html"><cite>数据库备份</cite></a>
                                            </li>
                   
                   
                   
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Sys/loginlog.html"><cite>登录日志</cite></a>
                                            </li>
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li>
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>回收站</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="">
                                                   
                    <li>
                                                <a _href="/admin.php/Recycle/index.html"><cite>回收站</cite></a>
                                            </li>
                   
                   
                                   
                   
                </ul>
            </li>
           

         
           
        </ul>
      </div>



默认菜单

可根据需求,删掉不用的菜单

<div id="side-nav" class="layui-side-scroll">
        <ul id="nav" class="layui-nav-tree">
            <li>
                <a _href="/admin.php/Index/welcome.html">
                    <i class="layui-icon layui-icon-home"></i>
                    <cite>后台首页</cite>
                   
                </a>
               
            </li>
       
               
                            <li class="">
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>内容管理</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="display: none;">
                                                   
                    <li class="">
                                                <a _href="/admin.php/Article/articlelist.html"><cite>内容列表</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Product/productlist.html"><cite>商品列表</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Jzattr/index.html"><cite>推荐属性</cite></a>
                                            </li>
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li>
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>栏目管理</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="">
                                                   
                    <li>
                                                <a _href="/admin.php/Classtype/index.html"><cite>栏目列表</cite></a>
                                            </li>
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li>
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>互动管理</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="">
                                                   
                    <li>
                                                <a _href="/admin.php/Message/messagelist.html"><cite>留言列表</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Comment/commentlist.html"><cite>评论列表</cite></a>
                                            </li>
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li>
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>SEO设置</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="">
                                                   
                    <li>
                                                <a _href="/admin.php/Extmolds/index/molds/tags.html"><cite>TAG列表</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Links/index.html"><cite>友情链接</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Index/sitemap.html"><cite>网站地图</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Jzchain/index.html"><cite>内链列表</cite></a>
                                            </li>
                   
                   
                                   
                   
                </ul>
            </li>
           
                    <li>
                <a href="javascript:;">
                    <i class="iconfont"></i>
                    <cite>用户管理</cite>
                    <i class="iconfont nav_right"></i>
                </a>
                <ul class="sub-menu" style="">
                                                   
                    <li>
                                                <a _href="/admin.php/Member/index.html"><cite>会员列表</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Member/membergroup.html"><cite>会员分组</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Member/power.html"><cite>会员权限</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Admin/adminlist.html"><cite>管理员列表</cite></a>
                                            </li>
                   
                   
                                                                   
                    <li>
                                                <a _href="/admin.php/Admin/group.html"><cite>角色管理</cite></a>
             	  	  
觉得有用请点个赞吧!
0 712