From a5caf4e9a1ed5d865551d507fd53d15142f8aba7 Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Wed, 2 Sep 2026 22:35:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=98=E6=89=A3=E9=A1=B5=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E7=9C=81=E7=95=A5=E7=94=9F=E6=95=88=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E6=92=91=E5=87=BA=E5=AE=B9=E5=99=A8=EF=BC=88flex=20=E5=AD=90?= =?UTF-8?q?=E9=A1=B9=E8=A1=A5=20min-width:0=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/discount/discount.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/discount/discount.vue b/pages/discount/discount.vue index 66f6ba0..9347640 100644 --- a/pages/discount/discount.vue +++ b/pages/discount/discount.vue @@ -212,6 +212,8 @@ export default { .card-info { flex: 1; + // xuchao: min-width:0 允许 flex 子项收缩到内容宽度以下,配合 nowrap 文本出省略号 + min-width: 0; display: flex; flex-direction: column; gap: 0; @@ -243,6 +245,7 @@ export default { .card-address { flex: 1; + min-width: 0; font-size: 14px; color: #727272; overflow: hidden;