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 49d50be5..0578c6d1 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 @@ -496,6 +496,100 @@ const goImportTask = () => { .g-3 { top: 485px; } + +/* ==================== 移动端适配 ==================== */ + +@media (max-width: 1024px) { + .welcome-container { + flex-direction: column; + gap: 40px; + padding: 30px; + } + + .content-left { + width: 100%; + max-width: 600px; + } + + .flowchart-right { + width: 100%; + height: auto; + min-height: 500px; + overflow-x: auto; + overflow-y: hidden; + } +} + +@media (max-width: 768px) { + .welcome-container { + padding: 24px; + } + + .content-left h1 { + font-size: 28px; + } + + .subtitle { + font-size: 18px; + margin-bottom: 30px; + } + + .feature-item { + margin-bottom: 22px; + } + + .btn-group { + flex-direction: column; + } + + .btn-primary, + .btn-secondary { + width: 100%; + text-align: center; + } + + .bg-blur { + width: 200px; + height: 200px; + } + + .flowchart-right { + display: none; + } +} + +@media (max-width: 480px) { + .welcome-container { + padding: 16px; + } + + .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; + } +}