feat: 完善智慧停车综合管理平台源码

This commit is contained in:
admin
2026-10-10 17:20:00 +08:00
commit 9c9079c998
170 changed files with 27985 additions and 0 deletions
+354
View File
@@ -0,0 +1,354 @@
.overview-screen {
display: flex;
flex-direction: column;
gap: 14px;
height: 100%;
min-height: 0;
padding: 4px;
overflow-y: auto;
}
/* ---------- header ---------- */
.overview-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 22px;
border: 1px solid rgba(103, 232, 249, 0.24);
border-radius: 18px;
background: linear-gradient(120deg, rgba(34, 211, 238, 0.14), rgba(8, 18, 38, 0.66));
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 32px rgba(34, 211, 238, 0.1);
}
.overview-title {
display: flex;
align-items: center;
gap: 14px;
}
.overview-title-icon {
font-size: 30px;
color: #22d3ee;
text-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
}
.overview-title h1 {
margin: 0;
color: #e6f7ff;
font-size: 22px;
letter-spacing: 2px;
}
.overview-title p {
margin: 4px 0 0;
color: rgba(103, 232, 249, 0.85);
font-size: 11px;
letter-spacing: 3px;
}
.overview-head-right {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
}
.overview-links {
display: flex;
gap: 14px;
}
.overview-links a {
padding: 5px 14px;
color: #a5f3fc;
border: 1px solid rgba(103, 232, 249, 0.35);
border-radius: 20px;
background: rgba(34, 211, 238, 0.1);
font-size: 13px;
transition: all 0.25s ease;
}
.overview-links a:hover {
color: #06121f;
background: #22d3ee;
box-shadow: 0 0 18px rgba(34, 211, 238, 0.7);
}
.overview-clock {
display: flex;
align-items: center;
gap: 8px;
color: #a5f3fc;
font-size: 15px;
font-variant-numeric: tabular-nums;
}
/* ---------- KPI cards ---------- */
.overview-kpis {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 14px;
}
.kpi-card {
position: relative;
display: flex;
align-items: center;
gap: 12px;
padding: 16px;
overflow: hidden;
border: 1px solid rgba(103, 232, 249, 0.2);
border-radius: 16px;
background: linear-gradient(150deg, rgba(14, 30, 56, 0.85), rgba(8, 18, 38, 0.6));
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.kpi-card:hover {
transform: translateY(-3px);
box-shadow: 0 12px 30px rgba(2, 8, 23, 0.5);
}
.kpi-icon {
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
flex: 0 0 auto;
font-size: 22px;
border-radius: 12px;
}
.kpi-meta {
display: flex;
flex-direction: column;
min-width: 0;
}
.kpi-label {
color: rgba(214, 244, 255, 0.6);
font-size: 12px;
}
.kpi-value {
color: #e6f7ff;
font-size: 24px;
font-weight: 700;
line-height: 1.25;
font-variant-numeric: tabular-nums;
}
.kpi-sub {
color: rgba(214, 244, 255, 0.72);
font-size: 11px;
}
.kpi-corner {
position: absolute;
top: 0;
right: 0;
width: 40px;
height: 40px;
clip-path: polygon(100% 0, 0 0, 100% 100%);
opacity: 0.5;
}
.tone-cyan .kpi-icon { color: #22d3ee; background: rgba(34, 211, 238, 0.14); }
.tone-cyan .kpi-corner { background: #22d3ee; }
.tone-green .kpi-icon { color: #4ade80; background: rgba(74, 222, 128, 0.14); }
.tone-green .kpi-corner { background: #4ade80; }
.tone-red .kpi-icon { color: #fb7185; background: rgba(251, 113, 133, 0.14); }
.tone-red .kpi-corner { background: #fb7185; }
.tone-purple .kpi-icon { color: #c084fc; background: rgba(192, 132, 252, 0.14); }
.tone-purple .kpi-corner { background: #c084fc; }
.tone-blue .kpi-icon { color: #60a5fa; background: rgba(96, 165, 250, 0.14); }
.tone-blue .kpi-corner { background: #60a5fa; }
/* ---------- panels row ---------- */
.overview-panels {
display: grid;
grid-template-columns: 1.5fr 1fr 1.2fr;
gap: 14px;
flex: 1;
min-height: 300px;
}
.ov-panel {
display: flex;
flex-direction: column;
padding: 16px;
border: 1px solid rgba(103, 232, 249, 0.2);
border-radius: 16px;
background: linear-gradient(160deg, rgba(14, 30, 56, 0.78), rgba(8, 18, 38, 0.6));
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.panel-title {
display: flex;
align-items: center;
gap: 10px;
padding-bottom: 12px;
margin-bottom: 12px;
border-bottom: 1px solid rgba(103, 232, 249, 0.14);
}
.panel-title-bar {
width: 4px;
height: 16px;
border-radius: 2px;
background: #22d3ee;
box-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}
.panel-title h3 {
margin: 0;
color: #e6f7ff;
font-size: 15px;
}
.panel-title-tag {
margin-inline-start: auto;
color: #67e8f9;
border-color: rgba(103, 232, 249, 0.3);
background: rgba(34, 211, 238, 0.08);
font-size: 10px;
letter-spacing: 1px;
}
/* ---------- trend chart ---------- */
.trend-chart {
flex: 1;
display: flex;
flex-direction: column;
}
.trend-chart svg {
flex: 1;
width: 100%;
min-height: 160px;
}
.trend-x {
display: flex;
justify-content: space-between;
padding: 6px 26px 0;
}
.trend-x span {
color: rgba(214, 244, 255, 0.55);
font-size: 11px;
}
/* ---------- donut ---------- */
.donut-wrap {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 10px;
}
.donut-svg {
width: 150px;
}
.donut-total {
fill: #e6f7ff;
font-size: 26px;
font-weight: 700;
}
.donut-label {
fill: rgba(214, 244, 255, 0.5);
font-size: 11px;
}
.donut-legend {
display: flex;
flex-direction: column;
gap: 6px;
width: 100%;
padding: 0;
margin: 0;
list-style: none;
}
.donut-legend li {
display: flex;
align-items: center;
gap: 8px;
color: rgba(214, 244, 255, 0.75);
font-size: 12px;
}
.donut-legend strong {
margin-inline-start: auto;
color: #e6f7ff;
font-variant-numeric: tabular-nums;
}
.legend-dot {
width: 8px;
height: 8px;
border-radius: 50%;
}
/* ---------- latest alarms ---------- */
.latest-list {
flex: 1;
padding: 0;
margin: 0;
overflow-y: auto;
list-style: none;
}
.latest-list li {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 8px 4px;
border-bottom: 1px dashed rgba(103, 232, 249, 0.12);
}
.latest-text {
display: inline-flex;
flex-direction: column;
line-height: 1.4;
}
.latest-name {
color: #d6f4ff;
font-size: 13px;
}
.latest-rule {
color: rgba(214, 244, 255, 0.72);
font-size: 11px;
}
.latest-time {
color: rgba(214, 244, 255, 0.5);
font-size: 11px;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
.latest-empty {
justify-content: center;
color: rgba(214, 244, 255, 0.45);
font-size: 13px;
}
/* ---------- responsive ---------- */
@media (max-width: 1400px) {
.overview-kpis { grid-template-columns: repeat(3, 1fr); }
.overview-panels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
.overview-kpis { grid-template-columns: repeat(2, 1fr); }
.overview-panels { grid-template-columns: 1fr; }
.overview-header { flex-direction: column; gap: 10px; align-items: flex-start; }
}