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">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/all.6.0.css">
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/chart.js"></script>
    <style>
        .sidebar {
            background-color: #2c3e50;
            min-height: 100vh;
            color: white;
        }
        .sidebar .nav-link {
            color: #ecf0f1;
            padding: 12px 20px;
            border-radius: 0;
        }
        .sidebar .nav-link:hover {
            background-color: #34495e;
            color: white;
        }
        .sidebar .nav-link.active {
            background-color: #3498db;
            color: white;
        }
        .card-stat {
            border: none;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border-radius: 8px;
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            margin: 0;
        }
        .stat-label {
            color: #6c757d;
            font-size: 0.9rem;
        }
        .chart-container {
            position: relative;
            height: 300px;
        }
        .donut-chart {
            height: 200px;
        }
        .main-content {
            background-color: #f8f9fa;
            min-height: 100vh;
        }
        .top-bar {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 15px 0;
        }
        .legend-item {
            display: inline-block;
            margin-right: 20px;
            font-size: 0.85rem;
        }
        .legend-color {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 2px;
            margin-right: 5px;
        }
    </style>
</head>
<body>
    <div class="container-fluid">
        <div class="row">
            <!-- 侧边栏 -->
            <div class="col-md-2 px-0 sidebar">
                <div class="p-3">
                    <h5 class="text-white">综合管理系统</h5>
                </div>
                <nav class="nav flex-column">
                    <a class="nav-link" href="#"><i class="fas fa-tachometer-alt me-2"></i>首页</a>
                    <a class="nav-link active" href="#"><i class="fas fa-chart-bar me-2"></i>统计报表</a>
                    <a class="nav-link" href="#"><i class="fas fa-database me-2"></i>数据管理</a>
                    <a class="nav-link" href="#"><i class="fas fa-cog me-2"></i>系统设置</a>
            .........完整代码请登录后点击上方下载按钮下载查看

网友评论0