From aea0d42d521832bddfe67ab15834984706ed25e0 Mon Sep 17 00:00:00 2001 From: mianyang <784310601@qq.com> Date: Sun, 26 Apr 2026 20:40:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 184 +++++++++++++++++- src/views/stock/Analyze.vue | 370 ++++++++++++++++++++++++------------ 2 files changed, 432 insertions(+), 122 deletions(-) diff --git a/src/App.vue b/src/App.vue index 92df483..ba1bcb8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,183 @@ - \ No newline at end of file + + + diff --git a/src/views/stock/Analyze.vue b/src/views/stock/Analyze.vue index 497847d..06fa537 100644 --- a/src/views/stock/Analyze.vue +++ b/src/views/stock/Analyze.vue @@ -1,7 +1,7 @@ \ No newline at end of file +:deep(.analyze-table .el-table__cell) { white-space: nowrap; } + +@media (max-width: 1024px) { + .analyze-container { + padding: 16px; + } + + .top-row { + margin-bottom: 16px; + } + + .glass-card { + height: auto; + min-height: 70px; + padding: 14px 16px; + align-items: flex-start; + } + + .info-container { + margin-top: 12px; + } +} + +@media (max-width: 820px) { + .analyze-container { + padding: 12px; + } + + .stat-group { + justify-content: space-between; + } + + .stat-box .value { + font-size: 20px; + } + + .sparkline-container { + display: none; + } + + :deep(.pure-form .el-form-item) { + width: 100%; + margin-right: 0; + } + + :deep(.pure-form .el-form-item__content) { + width: 100%; + } + + :deep(.pure-form .el-date-editor.el-input), + :deep(.pure-form .el-button) { + width: 100% !important; + } + + :deep(.kline-dialog .el-dialog) { + border-radius: 14px; + } +} +