diff --git a/frontend/src/views/admin/Dashboard.vue b/frontend/src/views/admin/Dashboard.vue index 4887b4c..cc4b503 100644 --- a/frontend/src/views/admin/Dashboard.vue +++ b/frontend/src/views/admin/Dashboard.vue @@ -77,12 +77,22 @@ + + + +
+
+
+ {{ d.date.slice(5) }} +
+
+
@@ -115,6 +139,32 @@ onMounted(async () => { .action-btn { width: 100%; } .table-wrap { overflow-x: auto; } .dashboard-loading { padding: 20px; } +.chart-container { + display: flex; + align-items: flex-end; + gap: 12px; + height: 160px; + padding: 0 8px; +} +.chart-bar-wrap { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + gap: 4px; + height: 100%; + justify-content: flex-end; +} +.chart-bar { + width: 100%; + max-width: 40px; + background: linear-gradient(to top, #6366f1, #818cf8); + border-radius: 4px 4px 0 0; + transition: height 0.5s ease; + min-height: 4px; +} +.chart-label { font-size: 11px; color: #888; white-space: nowrap; } +html.dark .chart-label { color: var(--text-secondary); } @media (max-width: 767px) { .stat-item .num { font-size: 28px; }