1 Star 0 Fork 14

dizhu/Light Year Admin Using v5 For Example

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lyear_layout_other_side.html 28.02 KB
一键复制 编辑 原始数据 按行查看 历史
笔下光年 提交于 2022-12-10 17:27 . feat:代码上传
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
<!DOCTYPE html>
<html lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta name="keywords" content="LightYear,LightYearAdmin,光年,后台模板,后台管理系统,光年HTML模板">
<meta name="description" content="Light Year Admin V5是一个基于Bootstrap v5.1.3的后台管理系统的HTML模板。">
<title>侧边栏的另一种布局 - 光年(Light Year Admin V4)后台管理系统模板</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="stylesheet" type="text/css" href="css/materialdesignicons.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/animate.min.css">
<link rel="stylesheet" type="text/css" href="js/bootstrap-multitabs/multitabs.min.css">
<link rel="stylesheet" type="text/css" href="css/style.min.css">
<style>
/* 顶部 */
.lyear-layout-header {
left: 0px;
padding-left: 0px;
z-index: 6;
}
/* 左侧导航菜单 */
.lyear-layout-sidebar {
width: 220px;
}
.lyear-layout-sidebar-info {
height: 100%;
position: relative;
background-color: #fff;
}
.lyear-layout-sidebar {
top: 68px;
}
.lyear-layout-mini-sidebar {
width: 60px;
height: 100%;
}
.sidebar-main {
-webkit-transform: translateZ(0);
transform: translateZ(0);
}
.nav-drawer li a,
.lyear-layout-sub-column li a {
position: relative;
display: block;
padding: 10px 15px;
color: inherit;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
}
.nav-drawer > li > a {
text-align: center;
padding-top: 12px;
padding-bottom: 12px;
}
.nav-drawer > li.active > a {
background-color: rgba(0,0,0,.0125)!important;
}
.nav-drawer > .active > a:hover,
.nav-drawer > .active > a:focus,
.nav-drawer > .active > a:active {
background-color: rgba(0,0,0,.0125);
border-color: var(--bs-primary);
}
.nav-drawer > li > a > i {
font-size: 1.5em;
position: inherit;
left: inherit;
top: inherit;
}
.lyear-layout-sub-column ul li ul {
padding-left: 15px;
}
.nav-subnav {
display: none;
margin-top: 8px;
margin-bottom: 8px;
}
.nav-item-has-subnav > a:after {
position: absolute;
top: 11px;
right: 11px;
font-family: 'Material Design Icons';
font-size: 10px;
line-height: 1.75;
content: '\f0142';
-webkit-transition: -webkit-transform 0.3s linear;
transition: -webkit-transform 0.3s linear;
transition: transform 0.3s linear;
transition: transform 0.3s linear, -webkit-transform 0.3s linear;
}
.nav-item-has-subnav.open > a:after {
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
}
.nav-item-has-subnav.open > .nav-subnav {
display: block;
}
/* 二级以及栏目 */
.lyear-layout-sub-column {
position: absolute;
border-left: 1px solid rgba(77, 82, 89, 0.05);
width: 160px;
left: 60px;
top: 0;
z-index: -1;
height: 100%;
background-color: #fff;
-webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.08);
-moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.08);
box-shadow: 0px 0px 5px rgba(0,0,0,0.08);
-webkit-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}
.lyear-layout-sub-column ul > li.active > a,
.lyear-layout-sub-column ul > li > a:hover {
color: var(--bs-primary);
background-color: transparent;
}
/* 主要内容 */
.lyear-layout-content {
padding-left: 220px;
}
[data-logobg*='color_'] .sidebar-header img {
left: -220px;
-webkit-filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
-moz-filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
-ms-filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
-o-filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
filter: drop-shadow(rgb(255, 255, 255) 220px 0px);
}
.lyear-layout-sidebar-close .lyear-layout-header {
padding-left: 0px;
}
@media (min-width: 1024px) {
.lyear-layout-sidebar-close .nav-drawer>li>a {
height: auto;
padding: 12px 0 12px;
}
.lyear-layout-sidebar-close .lyear-layout-sub-column {
transform: translateX(-100%);
}
.lyear-layout-sidebar-close .lyear-layout-sidebar:hover {
width: 60px;
}
.lyear-layout-sidebar-close .lyear-layout-sidebar:hover .nav-drawer>li>a {
padding: 12px 0 12px;
}
.lyear-layout-sidebar-close .lyear-layout-sidebar:hover .nav-drawer>li>a span {
display: inherit;
}
.lyear-layout-sidebar-close .lyear-layout-sidebar:hover .nav-drawer .nav-item-has-subnav>a:after {
content: '';
}
}
@media (max-width: 1024px) {
.lyear-layout-header, .lyear-layout-content {
padding-left: 0;
}
.lyear-layout-sidebar-close .lyear-layout-header,
.lyear-layout-sidebar-close .lyear-layout-content {
padding-left: 0px !important;
}
}
@media (max-width: 575.98px) {
.sidebar-header {
width: 60px;
}
}
</style>
</head>
<body class="lyear-index">
<div class="lyear-layout-web">
<div class="lyear-layout-container">
<!--左侧导航-->
<aside class="lyear-layout-sidebar">
<div class="lyear-layout-mini-sidebar">
<div class="lyear-layout-sidebar-info lyear-scroll">
<nav class="sidebar-main">
<ul class="nav-drawer">
<li class="nav-item active" data-bs-toggle="tooltip" data-bs-placement="right" title="首页">
<a href="javascript:void(0)" data-nav-target="#home">
<i class="mdi mdi-home"></i>
</a>
</li>
<li class="nav-item" data-bs-toggle="tooltip" data-bs-placement="right" title="布局">
<a href="javascript:void(0)" data-nav-target="#layout">
<i class="mdi mdi-page-layout-body"></i>
</a>
</li>
<li class="nav-item" data-bs-toggle="tooltip" data-bs-placement="right" title="上传">
<a href="javascript:void(0)" data-nav-target="#upload">
<i class="mdi mdi-upload"></i>
</a>
</li>
<li class="nav-item" data-bs-toggle="tooltip" data-bs-placement="right" title="编辑器">
<a href="javascript:void(0)" data-nav-target="#editor">
<i class="mdi mdi-application-edit-outline"></i>
</a>
</li>
<li class="nav-item" data-bs-toggle="tooltip" data-bs-placement="right" title="其他">
<a href="javascript:void(0)" data-nav-target="#other">
<i class="mdi mdi-language-javascript"></i>
</a>
</li>
<li class="nav-item" data-bs-toggle="tooltip" data-bs-placement="right" title="多级菜单">
<a href="javascript:void(0)" data-nav-target="#multilevelmenu">
<i class="mdi mdi-menu"></i>
</a>
</li>
</ul>
</nav>
</div>
</div>
<!--Start 菜单子栏目-->
<div class="lyear-scroll lyear-layout-sub-column">
<ul class="nav nav-subnav" id="home" style="display: block">
<li class="active"> <a class="multitabs" href="lyear_main.html">首页</a> </li>
<li> <a class="multitabs" href="lyear_main_1_v5.html">首页一</a> </li>
<li> <a class="multitabs" href="lyear_main_2_v5.html">首页二</a> </li>
</ul>
<ul class="nav nav-subnav" id="layout">
<li> <a class="multitabs" href="lyear_layout_form.html">表单布局示例</a> </li>
<li> <a class="multitabs" href="lyear_layout_chat.html">聊天页面示例</a> </li>
<li> <a href="lyear_layout_logo_text.html" target="_blank">logo处使用文字</a> </li>
<li> <a class="multitabs" href="lyear_layout_modal_tab.html">模态框使用标签页</a> </li>
<li> <a class="multitabs" href="lyear_layout_modal_maximize.html">模态框最大化</a> </li>
<li> <a class="multitabs" href="lyear_layout_search_1.html">搜索布局</a> </li>
<li> <a class="multitabs" href="lyear_layout_search_2.html">搜索布局2</a> </li>
<li> <a class="multitabs" href="lyear_layout_search_3.html">搜索布局3</a> </li>
<li> <a class="multitabs" href="lyear_layout_chose_1.html">选择示例</a> </li>
<li> <a class="multitabs" href="lyear_layout_chose_2.html">选择示例2</a> </li>
<li> <a class="multitabs" href="lyear_layout_chose_3.html">选择示例3</a> </li>
<li> <a class="multitabs" href="lyear_layout_chose_4.html">选择示例4</a> </li>
<li> <a class="multitabs" href="lyear_layout_code.html">代码演示切换</a> </li>
<li> <a class="multitabs" href="lyear_layout_message.html">留言列表布局</a> </li>
<li> <a class="multitabs" href="lyear_layout_widgets_1.html">可用的布局(数据统计篇)</a> </li>
<li> <a class="multitabs" href="lyear_layout_widgets_2.html">可用的布局(产品价格篇)</a> </li>
<li> <a class="multitabs" href="lyear_layout_widgets_3.html">可用的布局(搜索框篇)</a> </li>
<li> <a class="multitabs" href="lyear_layout_widgets_4.html">可用的布局(用户篇)</a> </li>
<li> <a class="multitabs" href="lyear_layout_widgets_5.html">可用的布局(动画篇)</a> </li>
<li> <a class="multitabs" href="lyear_layout_widgets_6.html">可用的布局(其他篇)</a> </li>
<li> <a class="multitabs" href="lyear_layout_other_side.html">另一种侧边栏菜单</a> </li>
<li> <a href="lyear_layout_header_sider.html" target="_blank">顶部和左侧联动</a> </li>
</ul>
<ul class="nav nav-subnav" id="upload">
<li> <a class="multitabs" href="lyear_js_dropzone.html">dropzone插件</a> </li>
<li> <a class="multitabs" href="lyear_js_uploadify.html">uploadify插件</a> </li>
<li> <a class="multitabs" href="lyear_js_webuploader.html">webuploader插件</a> </li>
<li> <a class="multitabs" href="lyear_js_cropper.html">cropper图片裁剪</a> </li>
<li> <a class="multitabs" href="lyear_js_h5_uploader.html">FormData上传</a> </li>
<li> <a class="multitabs" href="lyear_js_webuploader_attachment.html">webuploader(附件)</a> </li>
<li> <a class="multitabs" href="lyear_js_webuploader_images.html">webuploader(图片)</a> </li>
</ul>
<ul class="nav nav-subnav" id="editor">
<li> <a class="multitabs" href="lyear_js_ckeditor.html">ckeditor</a> </li>
<li> <a class="multitabs" href="lyear_js_editormd.html">editormd</a> </li>
<li> <a class="multitabs" href="lyear_js_summernote.html">summernote</a> </li>
<li> <a class="multitabs" href="lyear_js_tinymce.html">tinymce</a> </li>
<li> <a class="multitabs" href="lyear_js_ueditor.html">ueditor</a> </li>
<li> <a class="multitabs" href="lyear_js_wangeditor.html">wangeditor</a> </li>
</ul>
<ul class="nav nav-subnav" id="other">
<li> <a class="multitabs" href="lyear_js_touchspin.html">输入微调器组件</a> </li>
<li> <a class="multitabs" href="lyear_js_toolbar.html">弹出式工具栏</a> </li>
<li> <a class="multitabs" href="lyear_js_auto_complete.html">自动完成插件</a> </li>
<li> <a class="multitabs" href="lyear_js_fixedheadertable.html">固定表头插件</a> </li>
<li> <a class="multitabs" href="lyear_js_fontIconPicker.html">图标选择插件</a> </li>
<li> <a class="multitabs" href="lyear_js_jquery_raty.html">评分插件</a> </li>
<li> <a class="multitabs" href="lyear_js_range_slider.html">滑块插件</a> </li>
</ul>
<ul class="nav nav-subnav" id="multilevelmenu">
<li> <a href="#!">一级菜单</a> </li>
<li class="nav-item nav-item-has-subnav">
<a href="#!">一级菜单</a>
<ul class="nav nav-subnav">
<li> <a href="#!">二级菜单</a> </li>
<li class="nav-item nav-item-has-subnav">
<a href="#!">二级菜单</a>
<ul class="nav nav-subnav">
<li> <a href="#!">三级菜单</a> </li>
<li> <a href="#!">三级菜单</a> </li>
</ul>
</li>
</ul>
</li>
<li> <a href="#!">一级菜单</a> </li>
</ul>
</div>
<!--End 菜单子栏目-->
</aside>
<!--End 左侧导航-->
<!--头部信息-->
<header class="lyear-layout-header">
<nav class="navbar">
<div class="navbar-left d-flex align-items-center">
<!-- logo -->
<div id="logo" class="sidebar-header">
<a href="index.html"><img src="images/logo-sidebar.png" title="LightYear" alt="LightYear" /></a>
</div>
<div class="lyear-aside-toggler">
<span class="lyear-toggler-bar"></span>
<span class="lyear-toggler-bar"></span>
<span class="lyear-toggler-bar"></span>
</div>
</div>
<ul class="navbar-right d-flex align-items-center">
<!--顶部消息部分-->
<li class="dropdown dropdown-notice">
<span data-bs-toggle="dropdown" class="position-relative icon-item">
<i class="mdi mdi-bell-outline fs-5"></i>
<span class="position-absolute translate-middle badge bg-danger">7</span>
</span>
<div class="dropdown-menu dropdown-menu-end">
<div class="lyear-notifications">
<div class="lyear-notifications-title d-flex justify-content-between" data-stopPropagation="true">
<span>你有 10 条未读消息</span>
<a href="#!">查看全部</a>
</div>
<div class="lyear-notifications-info lyear-scroll">
<a href="#!" class="dropdown-item"
title="树莓派销量猛增,疫情期间居家工作学习、医疗领域都需要它">树莓派销量猛增,疫情期间居家工作学习、医疗领域都需要它</a>
<a href="#!" class="dropdown-item"
title="GNOME 用户体验团队将为 GNOME Shell 提供更多改进">GNOME 用户体验团队将为 GNOME Shell
提供更多改进</a>
<a href="#!" class="dropdown-item"
title="Linux On iPhone 即将面世,支持 iOS 的双启动">Linux On iPhone 即将面世,支持 iOS
的双启动</a>
<a href="#!" class="dropdown-item" title="GitHub 私有仓库完全免费面向团队提供">GitHub
私有仓库完全免费面向团队提供</a>
<a href="#!" class="dropdown-item"
title="Wasmtime 为 WebAssembly 增加 Go 语言绑定">Wasmtime 为 WebAssembly 增加 Go
语言绑定</a>
<a href="#!" class="dropdown-item"
title="红帽借“订阅”成开源一哥,首创者 Cormier 升任总裁">红帽借“订阅”成开源一哥,首创者 Cormier 升任总裁</a>
<a href="#!" class="dropdown-item" title="Zend 宣布推出两项 PHP 新产品">Zend 宣布推出两项
PHP 新产品</a>
</div>
</div>
</div>
</li>
<!--End 顶部消息部分-->
<!--切换主题配色-->
<li class="dropdown dropdown-skin">
<span data-bs-toggle="dropdown" class="icon-item">
<i class="mdi mdi-palette fs-5"></i>
</span>
<ul class="dropdown-menu dropdown-menu-end" data-stopPropagation="true">
<li class="lyear-skin-title"><p>主题</p></li>
<li class="lyear-skin-li clearfix">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="site_theme" id="site_theme_1" value="default" checked="checked">
<label class="form-check-label" for="site_theme_1"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="site_theme" id="site_theme_2" value="translucent-green">
<label class="form-check-label" for="site_theme_2"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="site_theme" id="site_theme_3" value="translucent-blue">
<label class="form-check-label" for="site_theme_3"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="site_theme" id="site_theme_4" value="translucent-yellow">
<label class="form-check-label" for="site_theme_4"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="site_theme" id="site_theme_5" value="translucent-red">
<label class="form-check-label" for="site_theme_5"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="site_theme" id="site_theme_6" value="translucent-pink">
<label class="form-check-label" for="site_theme_6"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="site_theme" id="site_theme_7" value="translucent-cyan">
<label class="form-check-label" for="site_theme_7"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="site_theme" id="site_theme_8" value="dark">
<label class="form-check-label" for="site_theme_8"></label>
</div>
</li>
<li class="lyear-skin-title"><p>LOGO</p></li>
<li class="lyear-skin-li clearfix">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="logo_bg" id="logo_bg_1" value="default" checked="checked">
<label class="form-check-label" for="logo_bg_1"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="logo_bg" id="logo_bg_2" value="color_2">
<label class="form-check-label" for="logo_bg_2"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="logo_bg" id="logo_bg_3" value="color_3">
<label class="form-check-label" for="logo_bg_3"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="logo_bg" id="logo_bg_4" value="color_4">
<label class="form-check-label" for="logo_bg_4"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="logo_bg" id="logo_bg_5" value="color_5">
<label class="form-check-label" for="logo_bg_5"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="logo_bg" id="logo_bg_6" value="color_6">
<label class="form-check-label" for="logo_bg_6"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="logo_bg" id="logo_bg_7" value="color_7">
<label class="form-check-label" for="logo_bg_7"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="logo_bg" id="logo_bg_8" value="color_8">
<label class="form-check-label" for="logo_bg_8"></label>
</div>
</li>
<li class="lyear-skin-title"><p>头部</p></li>
<li class="lyear-skin-li clearfix">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="header_bg" id="header_bg_1" value="default" checked="checked">
<label class="form-check-label" for="header_bg_1"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="header_bg" id="header_bg_2" value="color_2">
<label class="form-check-label" for="header_bg_2"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="header_bg" id="header_bg_3" value="color_3">
<label class="form-check-label" for="header_bg_3"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="header_bg" id="header_bg_4" value="color_4">
<label class="form-check-label" for="header_bg_4"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="header_bg" id="header_bg_5" value="color_5">
<label class="form-check-label" for="header_bg_5"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="header_bg" id="header_bg_6" value="color_6">
<label class="form-check-label" for="header_bg_6"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="header_bg" id="header_bg_7" value="color_7">
<label class="form-check-label" for="header_bg_7"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="header_bg" id="header_bg_8" value="color_8">
<label class="form-check-label" for="header_bg_8"></label>
</div>
</li>
<li class="lyear-skin-title"><p>侧边栏</p></li>
<li class="lyear-skin-li clearfix">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="sidebar_bg" id="sidebar_bg_1" value="default" checked="checked">
<label class="form-check-label" for="sidebar_bg_1"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="sidebar_bg" id="sidebar_bg_2" value="color_2">
<label class="form-check-label" for="sidebar_bg_2"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="sidebar_bg" id="sidebar_bg_3" value="color_3">
<label class="form-check-label" for="sidebar_bg_3"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="sidebar_bg" id="sidebar_bg_4" value="color_4">
<label class="form-check-label" for="sidebar_bg_4"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="sidebar_bg" id="sidebar_bg_5" value="color_5">
<label class="form-check-label" for="sidebar_bg_5"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="sidebar_bg" id="sidebar_bg_6" value="color_6">
<label class="form-check-label" for="sidebar_bg_6"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="sidebar_bg" id="sidebar_bg_7" value="color_7">
<label class="form-check-label" for="sidebar_bg_7"></label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="sidebar_bg" id="sidebar_bg_8" value="color_8">
<label class="form-check-label" for="sidebar_bg_8"></label>
</div>
</li>
</ul>
</li>
<!--End 切换主题配色-->
<!--个人头像内容-->
<li class="dropdown">
<a href="javascript:void(0)" data-bs-toggle="dropdown" class="dropdown-toggle">
<img class="avatar-md rounded-circle" src="images/users/avatar.jpg" alt="笔下光年" />
<span style="margin-left: 10px;">笔下光年</span>
</a>
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="multitabs dropdown-item" data-url="lyear_pages_profile.html"
href="javascript:void(0)">
<i class="mdi mdi-account"></i>
<span>个人信息</span>
</a>
</li>
<li>
<a class="multitabs dropdown-item" data-url="lyear_pages_edit_pwd.html"
href="javascript:void(0)">
<i class="mdi mdi-lock-outline"></i>
<span>修改密码</span>
</a>
</li>
<li>
<a class="dropdown-item" href="javascript:void(0)">
<i class="mdi mdi-delete"></i>
<span>清空缓存</span>
</a>
</li>
<li class="dropdown-divider"></li>
<li>
<a class="dropdown-item" href="lyear_pages_login_1.html">
<i class="mdi mdi-logout-variant"></i>
<span>退出登录</span>
</a>
</li>
</ul>
</li>
<!--End 个人头像内容-->
</ul>
</nav>
</header>
<!--End 头部信息-->
<!--页面主要内容-->
<main class="lyear-layout-content">
<div id="iframe-content"></div>
</main>
<!--End 页面主要内容-->
</div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/popper.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/perfect-scrollbar.min.js"></script>
<!--这里的tab插件,跟默认的是有区别的-->
<script type="text/javascript" src="js/bootstrap-multitabs/multitabs.mini.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.min.js"></script>
<script type="text/javascript" src="js/index.min.js"></script>
<script type="text/javascript">
jQuery( function() {
$(document).on('click', '[data-nav-target]', function () {
var $this = $(this),
target = $this.data('nav-target');
if ($('body').hasClass('lyear-layout-sidebar-close')) {
$('body').removeClass('lyear-layout-sidebar-close');
}
$('.lyear-layout-sub-column > ul').hide();
$('.lyear-layout-sub-column ' + target).fadeIn(500);
$this.parent().siblings().removeClass('active');
$this.parent().addClass('active');
$this.parent().tooltip('hide');
return false;
});
$('.lyear-layout-sub-column .multitabs').bind('click', function(){
$('.lyear-layout-sub-column li').removeClass('active');
$(this).parent('li').addClass('active');
});
});
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/johnnyhg/light-year-admin-using-v5-for-example.git
git@gitee.com:johnnyhg/light-year-admin-using-v5-for-example.git
johnnyhg
light-year-admin-using-v5-for-example
Light Year Admin Using v5 For Example
master

搜索帮助