From 6d1bfc2f1f1dab80971f86f85990dc6a0ab71262 Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Thu, 29 Oct 2026 09:42:41 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E5=9C=BA=E9=A6=86=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E7=B1=BB=E5=9E=8B=E4=B8=8E=E7=A4=BE=E4=BF=9D=E5=8D=A1?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E5=B9=B6=E4=B8=BA=E5=90=8C=E4=B8=80=E8=A1=8C?= =?UTF-8?q?=EF=BC=88=E7=B1=BB=E5=9E=8B=E5=9C=A8=E5=89=8D=EF=BC=8C=E8=A1=8C?= =?UTF-8?q?=E5=86=85=E4=B8=8D=E6=8D=A2=E8=A1=8C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- pages/venue/venue.vue | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/pages/venue/venue.vue b/pages/venue/venue.vue index 07cdf07..f6717d4 100644 --- a/pages/venue/venue.vue +++ b/pages/venue/venue.vue @@ -28,12 +28,12 @@ {{ item.name }} - + + {{ item.category }} 实体社保卡 电子社保卡 - {{ item.category }} {{ item.address }} @@ -307,14 +307,26 @@ export default { white-space: nowrap; } -/* xuchao: 标签展示位——品牌红调胶囊,形制同折扣页 tag-coupon */ +/* xuchao: 类型 + 标签同一行;标签为品牌红调胶囊,形制同折扣页 tag-coupon */ .card-tags { display: flex; + align-items: center; gap: 8rpx; - flex-shrink: 0; + min-width: 0; +} + +.card-category { + /* xuchao: 类型可收缩省略,保证整行不换行(胶囊不缩) */ + font-size: 22rpx; + color: #999999; + min-width: 0; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .tag-card { + flex-shrink: 0; font-size: 20rpx; color: #E8542F; background: rgba(232, 84, 47, 0.08); @@ -323,15 +335,6 @@ export default { line-height: 1.4; } -.card-category { - font-size: 22rpx; - color: #999999; - width: 100%; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - .card-bottom { display: flex; align-items: center;