From ad6ad59c01c1da21fd5aa1f1059fc40c7ea18ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E6=B0=B8=E8=B6=85?= <2090205686@qq.com> Date: Thu, 26 Jun 2025 14:40:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=B1=95=E7=A4=BA=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/custom.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/styles/custom.scss b/src/assets/styles/custom.scss index af49d21..6b428af 100644 --- a/src/assets/styles/custom.scss +++ b/src/assets/styles/custom.scss @@ -235,7 +235,7 @@ // color: #fff; } .table-cell-img-box { - width: 60px; + width: 100%; height: 60px; text-align: center; overflow: hidden; /* 隐藏超出部分 */ @@ -243,8 +243,8 @@ justify-content: center; align-items: center; .table-cell-img { - min-width: 100%; /* 至少撑满宽度 */ - min-height: 100%; /* 至少撑满高度 */ + width: 60px; + height: 60px; object-fit: cover; /* 保持比例并覆盖容器 */ } }