From 14cca119a9de763d2924f7dc19177aa0f162b1db Mon Sep 17 00:00:00 2001 From: dzq Date: Tue, 20 May 2025 11:57:17 +0800 Subject: [PATCH] =?UTF-8?q?refactor(welcome):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B8=83=E5=B1=80=E5=92=8C=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BB=A5=E6=8F=90=E5=8D=87=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重新组织待办事项、数据统计、智能设备和商品信息的布局,优化页面结构,使其更直观和易于使用。同时调整样式细节,确保各模块在不同屏幕尺寸下显示一致。 --- src/views/welcome/index.vue | 207 ++++++++++++++++++++---------------- 1 file changed, 113 insertions(+), 94 deletions(-) diff --git a/src/views/welcome/index.vue b/src/views/welcome/index.vue index ac6ae49..19cf7c9 100644 --- a/src/views/welcome/index.vue +++ b/src/views/welcome/index.vue @@ -59,74 +59,105 @@ onMounted(async () => { @@ -321,15 +325,13 @@ onMounted(async () => { .goods-right { display: flex; align-items: center; - width: 450px; .goods-progress { flex: 1; - margin-right: 12px; + margin-right: 2px; } .goods-count { - width: 60px; text-align: right; font-size: 14px; color: var(--el-text-color-primary); @@ -344,5 +346,22 @@ onMounted(async () => { } } } + + .goods-container { + .goods-right { + width: 150px; + } + .goods-count { + width: 45px; + } + } + .order-container { + .goods-right { + width: 250px; + } + .goods-count { + width: 60px; + } + } } \ No newline at end of file