From 858f5f946a37c55556e71e54349cd7c31995683a Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Fri, 22 May 2026 12:08:20 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#568:=20=E4=BF=AE=E5=A4=8D=E9=97=A8?= =?UTF-8?q?=E8=AF=8A=E6=97=A5=E7=BB=93=E9=A1=B5=E9=9D=A2=E6=8E=92=E7=89=88?= =?UTF-8?q?=E6=B7=B7=E4=B9=B1=20-=20=E5=9B=BA=E5=AE=9A4=E5=88=97=E7=BD=91?= =?UTF-8?q?=E6=A0=BC=E5=B9=B6=E8=B0=83=E6=95=B4=E6=A0=87=E7=AD=BE=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 根因:auto-fit在宽屏下创建超过4列导致span-2错乱,标签宽度不足 修复:使用repeat(4, 1fr)固定4列,标签min-width调整为120px Co-Authored-By: Claude Opus 4.7 --- openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue index 6072744a..e0891f9d 100755 --- a/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue +++ b/openhis-ui-vue3/src/views/clinicmanagement/dayEnd/index.vue @@ -297,7 +297,7 @@ getPharmacyCabinetLists(); align-items: center; } .cols-4 { - grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + grid-template-columns: repeat(4, 1fr); } .span-2 { grid-column: span 2; @@ -309,7 +309,7 @@ getPharmacyCabinetLists(); min-width: 0; } .label { - min-width: 100px; + min-width: 120px; flex-shrink: 0; color: #606266; white-space: nowrap;