diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/common/welcome/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/common/welcome/index.vue index f8e144c9..72a2beca 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/common/welcome/index.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/common/welcome/index.vue @@ -83,84 +83,86 @@ const goImportTask = () => { -
-
接入配置店铺与规则
-
任务执行自动化处理
-
经营分析指标应用
+
+
+
接入配置店铺与规则
+
任务执行自动化处理
+
经营分析指标应用
-
-
Step 1
- -

选择店铺

-

多平台API授权

+
+
Step 1
+ +

选择店铺

+

多平台API授权

+
+ +
+
Step 2
+ +

映射字段

+

自定义表头对应

+
+ +
+
Step 3
+ +

映射状态

+

统一订单生命周期

+
+ +
+
Step 4
+ +

创建导入任务

+

设置同步频率

+
+ +
+ +

系统处理中

+

数据清洗与校验

+
+ +
+ +

数据面板

+

可视化实时概览

+
+ +
+ +

导出报表

+

支持Excel/PDF

+
+ +
+
+ +
+
配置完成
+ +
+
+
+
+
+
导入成功
- -
-
Step 2
- -

映射字段

-

自定义表头对应

-
- -
-
Step 3
- -

映射状态

-

统一订单生命周期

-
- -
-
Step 4
- -

创建导入任务

-

设置同步频率

-
- -
- -

系统处理中

-

数据清洗与校验

-
- -
- -

数据面板

-

可视化实时概览

-
- -
- -

导出报表

-

支持Excel/PDF

-
- -
-
- -
-
配置完成
- -
-
-
-
-
-
导入成功
@@ -184,7 +186,7 @@ const goImportTask = () => { min-height: 0; flex: 1; position: relative; - overflow: hidden; + overflow: auto; display: flex; align-items: center; justify-content: center; @@ -199,23 +201,25 @@ const goImportTask = () => { .welcome-container { width: min(1250px, 100%); margin: 0 auto; - padding: 40px; + padding: clamp(16px, 3vw, 40px); display: flex; justify-content: center; - gap: 56px; + gap: clamp(24px, 4vw, 56px); align-items: center; position: relative; z-index: 2; + box-sizing: border-box; } .bg-blur { position: absolute; - width: 300px; - height: 300px; + width: min(300px, 45vw); + height: min(300px, 45vw); background: rgb(59 130 246 / 10%); filter: blur(80px); border-radius: 9999px; z-index: 0; + pointer-events: none; } .blur-top { @@ -229,22 +233,25 @@ const goImportTask = () => { } .content-left { - width: 430px; - flex-shrink: 0; + width: min(430px, 100%); + flex: 0 1 430px; + min-width: 0; } .content-left h1 { margin-bottom: 12px; color: var(--text-dark); - font-size: 36px; + font-size: clamp(24px, 3.6vw, 36px); letter-spacing: -1px; + line-height: 1.25; } .subtitle { - margin-bottom: 45px; + margin-bottom: clamp(24px, 4vw, 45px); color: rgb(59 130 246 / 90%); - font-size: 22px; + font-size: clamp(16px, 2.2vw, 22px); font-weight: 600; + line-height: 1.4; } .feature-item { @@ -282,8 +289,9 @@ const goImportTask = () => { .btn-group { display: flex; - gap: 15px; - margin-top: 30px; + flex-wrap: wrap; + gap: 12px; + margin-top: clamp(20px, 3vw, 30px); } .btn-primary, @@ -318,6 +326,12 @@ const goImportTask = () => { background: var(--surface-strong); } +.flowchart-wrap { + flex: 1 1 480px; + min-width: 0; + max-width: 840px; +} + .flowchart-right { width: 840px; height: 600px; @@ -497,45 +511,64 @@ const goImportTask = () => { top: 485px; } -/* ==================== 移动端适配 ==================== */ +/* ==================== 响应式适配 ==================== */ + +@media (max-width: 1200px) { + .welcome-container { + gap: 32px; + } + + .flowchart-wrap { + overflow-x: auto; + overflow-y: hidden; + -webkit-overflow-scrolling: touch; + padding-bottom: 8px; + } +} @media (max-width: 1024px) { + .welcome-page { + align-items: flex-start; + } + .welcome-container { flex-direction: column; - gap: 40px; - padding: 30px; + align-items: stretch; + gap: 32px; + padding: 28px 24px; } .content-left { width: 100%; - max-width: 600px; + max-width: 640px; + flex: none; + margin-inline: auto; } - .flowchart-right { + .flowchart-wrap { width: 100%; - height: auto; - min-height: 500px; - overflow-x: auto; - overflow-y: hidden; + max-width: 840px; + margin-inline: auto; + flex: none; } } @media (max-width: 768px) { .welcome-container { - padding: 24px; - } - - .content-left h1 { - font-size: 28px; - } - - .subtitle { - font-size: 18px; - margin-bottom: 30px; + padding: 20px 16px 28px; + gap: 24px; } .feature-item { - margin-bottom: 22px; + margin-bottom: 20px; + } + + .feature-item b { + font-size: 15px; + } + + .feature-item p { + font-size: 13px; } .btn-group { @@ -548,46 +581,77 @@ const goImportTask = () => { text-align: center; } - .bg-blur { - width: 200px; - height: 200px; + /* 窄屏:流程图改为纵向卡片列表,保留内容不隐藏 */ + .flowchart-wrap { + overflow: visible; } .flowchart-right { + width: 100%; + height: auto; + display: flex; + flex-direction: column; + gap: 12px; + } + + .flowchart-right .group-label, + .flowchart-right .line, + .flowchart-right .badge { display: none; } + + .flowchart-right .card, + .flowchart-right .line, + .flowchart-right .badge { + margin-left: 0; + } + + .flowchart-right .card { + position: relative; + top: auto !important; + left: auto !important; + width: 100%; + display: flex; + align-items: center; + gap: 14px; + text-align: left; + padding: 16px 14px; + } + + .flowchart-right .card:hover { + transform: none; + } + + .flowchart-right .card-icon { + margin: 0; + font-size: 28px; + flex-shrink: 0; + } + + .flowchart-right .card h4 { + margin-bottom: 2px; + font-size: 15px; + } + + .flowchart-right .card p { + margin: 0; + font-size: 13px; + } + + .flowchart-right .step-tag { + top: 10px; + right: 12px; + left: auto; + } } @media (max-width: 480px) { .welcome-container { - padding: 16px; + padding: 16px 12px 24px; } .content-left h1 { - font-size: 24px; - letter-spacing: -0.5px; - } - - .subtitle { - font-size: 16px; - margin-bottom: 24px; - } - - .feature-item b { - font-size: 15px; - } - - .feature-item p { - font-size: 13px; - } - - .btn-group { - margin-top: 20px; - } - - .bg-blur { - width: 150px; - height: 150px; + letter-spacing: -0.4px; } } diff --git a/ecom-dmb-frontend/apps/web-antd/src/views/system/menu/index.vue b/ecom-dmb-frontend/apps/web-antd/src/views/system/menu/index.vue index a23ea1b9..8b76dc17 100644 --- a/ecom-dmb-frontend/apps/web-antd/src/views/system/menu/index.vue +++ b/ecom-dmb-frontend/apps/web-antd/src/views/system/menu/index.vue @@ -110,8 +110,9 @@ const gridOptions: VxeGridProps = { }, { title: '操作', - minWidth: 150, + minWidth: 280, fixed: 'right' as const, + showOverflow: false, slots: { default: 'action' }, }, ], @@ -438,12 +439,12 @@ onMounted(() => {