bootstrap简洁大气企业资产管理后台仪表盘代码
代码语言:html
所属分类:布局界面
代码描述:bootstrap简洁大气企业资产管理后台仪表盘代码
代码标签: bootstrap 简洁 大气 企业 资产 管理 后台 仪表盘 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>企业资产管理平台</title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.5.3.0.css">
<!-- Bootstrap Icons -->
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap-icons.1.11.3.css">
<!-- ECharts -->
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.5.4.2.js"></script>
<style>
:root {
--primary-bg: #f8f9fa;
--card-bg: #ffffff;
--sidebar-bg: #4169e1;
--sidebar-active: #2a50c7;
--text-color: #333333;
--text-muted: #6c757d;
--border-color: #e9ecef;
--accent-blue: #4361ee;
--accent-green: #10b981;
}
body {
font-family: 'Microsoft YaHei', sans-serif;
background-color: var(--primary-bg);
color: var(--text-color);
margin: 0;
min-height: 100vh;
display: flex;
}
/* 顶部导航栏样式 */
.top-navbar {
height: 60px;
background-color: #fff;
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
padding: 0 20px;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}
.logo {
display: flex;
align-items: center;
font-weight: bold;
font-size: 18px;
color: #333;
text-decoration: none;
}
.logo img {
height: 30px;
margin-right: 10px;
}
.nav-menu {
display: flex;
margin-left: 30px;
}
.nav-item {
padding: 0 15px;
font-size: 14px;
color: #333;
text-decoration: none;
height: 60px;
display: flex;
align-items: center;
border-bottom: 2px solid transparent;
}
.nav-item.active {
border-bottom: 2px solid #4169e1;
color: #4169e1;
}
.nav-right {
margin-left: auto;
display: flex;
align-items: center;
}
.nav-icon {
font-size: 18px;
color: #666;
margin-left: 20px;
cursor: pointer;
}
.user-avatar {
width: 32px;
height: 32px;
border-radius: 50%;
margin-left: 20px;
background-color: #f0f0f0;
display: flex;
align-items: center;
justify-content: center;
color: #666;
font-size: 14px;
}
/* 侧边栏样式 */
.sidebar {
width: 200px;
background-color: var(--sidebar-bg);
color: white;
padding-top: 80px;
height: 100vh;
position: fixed;
left: 0;
top: 0;
z-index: 900;
}
.sidebar-menu {
list-style: none;
padding: 0;
margin: 0;
}
.sidebar-item {
padding: 12px 20px;
display: flex;
align-items: center;
cursor: pointer;
}
.sidebar-item.active {
background-color: var(--sidebar-active);
}
.sidebar-item i {
margin-right: 10px;
font-size: 18px;
.........完整代码请登录后点击上方下载按钮下载查看
网友评论0