From fc00fb634c868c1d8a0f33dbde7f0d3ceba9a813 Mon Sep 17 00:00:00 2001 From: gaoxq <376340421@qq.com> Date: Tue, 24 Mar 2026 11:40:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/layouts/screen/welcome/Erp/index.vue | 520 +++++++++--------- .../layouts/screen/welcome/Home/index.vue | 452 ++++++++------- .../core/layouts/screen/welcome/Sys/index.vue | 438 +++++++-------- .../layouts/screen/welcome/Work/index.vue | 503 +++++++++-------- 4 files changed, 923 insertions(+), 990 deletions(-) diff --git a/web-vue/packages/core/layouts/screen/welcome/Erp/index.vue b/web-vue/packages/core/layouts/screen/welcome/Erp/index.vue index 2880885..f317010 100644 --- a/web-vue/packages/core/layouts/screen/welcome/Erp/index.vue +++ b/web-vue/packages/core/layouts/screen/welcome/Erp/index.vue @@ -7,17 +7,9 @@
-
+
- +
@@ -25,17 +17,9 @@
-
+
- +
@@ -54,17 +38,9 @@
-
+
- +
@@ -83,285 +59,279 @@ \ No newline at end of file + + .empty-card { + display: flex; + justify-content: center; + align-items: center; + height: 100%; + color: #88a0c2; + font-size: 14px; + } + + /* 优化移动端样式 */ + @media (max-width: 1600px) { + .erp-layout-container { + padding: 2px; + gap: 2px; + } + .erp-section { + gap: 2px; + } + .erp-col-1-3 { + width: calc((100% - 4px) / 3); + } + .erp-col-1-2 { + width: calc((100% - 2px) / 2); + } + .erp-inner-layout { + gap: 2px; + } + .erp-card { + padding: 2px; + } + .erp-card h3 { + font-size: 14px; + } + .erp-card p { + font-size: 12px; + } + } + + @media (max-width: 768px) { + .erp-layout-container { + flex-direction: column; + height: auto; + min-height: 100vh; + padding: 2px; + gap: 2px; + overflow-y: auto; + } + .erp-section { + flex-direction: column; + height: auto !important; + min-height: 120px; + gap: 2px; + margin-bottom: 8px; + } + .erp-col-1-3, + .erp-col-1-2 { + width: 100%; + height: 120px; /* 固定高度,避免计算错误 */ + margin-bottom: 2px; + } + .erp-inner-layout { + flex-direction: column; + height: 100%; + gap: 2px; + } + .erp-card { + padding: 8px; /* 增加移动端内边距,提升体验 */ + } + } + + @media (max-height: 900px) { + .erp-layout-container { + padding: 2px; + gap: 2px; + } + .erp-section { + gap: 2px; + } + .erp-card { + padding: 2px; + } + .erp-card h3 { + font-size: 14px; + margin-bottom: 6px; + } + .erp-card p { + font-size: 12px; + } + } + diff --git a/web-vue/packages/core/layouts/screen/welcome/Home/index.vue b/web-vue/packages/core/layouts/screen/welcome/Home/index.vue index e1668b1..ada46d5 100644 --- a/web-vue/packages/core/layouts/screen/welcome/Home/index.vue +++ b/web-vue/packages/core/layouts/screen/welcome/Home/index.vue @@ -8,44 +8,20 @@
-
- +
+
-
- +
+
-
- +
+
@@ -53,229 +29,239 @@ \ No newline at end of file + + .empty-card { + display: flex; + justify-content: center; + align-items: center; + height: 100%; + color: #88a0c2; + font-size: 14px; + } + + @media (max-width: 1600px) { + .work-card h3 { + font-size: 14px; + } + .work-card p { + font-size: 12px; + } + } + + @media (max-width: 768px) { + .work-layout-container { + flex-direction: column; + height: auto; + min-height: 100%; + overflow-y: auto; + } + .work-section { + flex-direction: column; + height: auto !important; + min-height: 120px; + } + .work-row-1-3 { + height: auto; + flex-direction: column; + } + .work-card-1-3, + .work-card-1-2 { + width: 100%; + height: 120px; + margin-bottom: 2px; + } + } + + @media (max-height: 900px) { + .work-card h3 { + font-size: 14px; + margin-bottom: 6px; + } + .work-card p { + font-size: 12px; + } + } + diff --git a/web-vue/packages/core/layouts/screen/welcome/Sys/index.vue b/web-vue/packages/core/layouts/screen/welcome/Sys/index.vue index 02f2d01..1f226e6 100644 --- a/web-vue/packages/core/layouts/screen/welcome/Sys/index.vue +++ b/web-vue/packages/core/layouts/screen/welcome/Sys/index.vue @@ -8,44 +8,20 @@
-
- +
+
-
- +
+
-
- +
+
@@ -53,220 +29,230 @@ \ No newline at end of file + + .empty-card { + display: flex; + justify-content: center; + align-items: center; + height: 100%; + color: #88a0c2; + font-size: 14px; + } + + @media (max-width: 1600px) { + .work-card h3 { + font-size: 14px; + } + .work-card p { + font-size: 12px; + } + } + + @media (max-width: 768px) { + .work-layout-container { + flex-direction: column; + height: auto; + min-height: 100%; + overflow-y: auto; + } + .work-section { + flex-direction: column; + height: auto !important; + min-height: 120px; + } + .work-row-1-3 { + height: auto; + flex-direction: column; + } + .work-card-1-3 { + width: 100%; + height: 120px; + margin-bottom: 2px; + } + } + + @media (max-height: 900px) { + .work-card h3 { + font-size: 14px; + margin-bottom: 6px; + } + .work-card p { + font-size: 12px; + } + } + diff --git a/web-vue/packages/core/layouts/screen/welcome/Work/index.vue b/web-vue/packages/core/layouts/screen/welcome/Work/index.vue index cbd83e7..34433c8 100644 --- a/web-vue/packages/core/layouts/screen/welcome/Work/index.vue +++ b/web-vue/packages/core/layouts/screen/welcome/Work/index.vue @@ -7,35 +7,19 @@
-
- +
+
-
+
-
+
-
- +
+
@@ -61,269 +37,284 @@ \ No newline at end of file + + .empty-card { + display: flex; + justify-content: center; + align-items: center; + height: 100%; + color: #88a0c2; + font-size: 14px; + } + + @media (max-width: 1600px) { + .work-layout-container { + padding: 2px; + gap: 2px; + } + .work-section { + gap: 2px; + } + .work-col-1-3 { + width: calc((100% - 4px) / 3); + } + .work-card-1-3 { + height: calc((100% - 4px) / 3); + } + .work-card-2-3 { + height: calc(2 * ((100% - 4px) / 3) + 2px); + } + .work-card { + padding: 2px; + } + .work-card h3 { + font-size: 14px; + } + .work-card p { + font-size: 12px; + } + } + + @media (max-width: 768px) { + .work-layout-container { + flex-direction: column; + height: auto; + min-height: 100%; + padding: 2px; + gap: 2px; + overflow-y: auto; + } + .work-section { + flex-direction: column; + height: auto !important; + min-height: 120px; + gap: 2px; + } + .work-col-1-3 { + width: 100%; + height: auto; + } + .work-left-col, + .work-middle-col, + .work-right-col { + flex-direction: column; + height: auto; + gap: 2px; + } + .work-card-1-3, + .work-card-2-3 { + height: 120px; + margin-bottom: 2px; + } + .work-card { + padding: 2px; + } + } + + @media (max-height: 900px) { + .work-layout-container { + padding: 2px; + gap: 2px; + } + .work-section { + gap: 2px; + } + .work-card { + padding: 2px; + } + .work-card h3 { + font-size: 14px; + margin-bottom: 6px; + } + .work-card p { + font-size: 12px; + } + } +