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;