diff --git a/demo/frontend/src/views/Home.vue b/demo/frontend/src/views/Home.vue index ec4b1c0..6638cd6 100644 --- a/demo/frontend/src/views/Home.vue +++ b/demo/frontend/src/views/Home.vue @@ -99,7 +99,7 @@
-
+

日活用户趋势

@@ -179,7 +179,7 @@
-
+

用户转化率

@@ -542,11 +542,15 @@ onMounted(() => { /* 图表区域 */ .charts-section { padding: 0 24px 24px; - display: grid; - grid-template-columns: 2fr 1fr; + display: flex; + flex-direction: column; gap: 24px; } +.chart-card.full-width { + width: 100%; +} + .chart-card { background: white; border-radius: 12px; @@ -732,10 +736,6 @@ onMounted(() => { /* 响应式设计 */ @media (max-width: 1024px) { - .charts-section { - grid-template-columns: 1fr; - } - .kpi-section { grid-template-columns: 1fr; }