diff --git a/package2/group/groupBuyList.vue b/package2/group/groupBuyList.vue index 2530558..7094df1 100644 --- a/package2/group/groupBuyList.vue +++ b/package2/group/groupBuyList.vue @@ -154,13 +154,13 @@ - + {{formatAmountText(item.startingPrice)}}元起送 - + {{item.subtitle}} - {{item._groupTip}} + {{item._groupTip}} 已售{{item.saleCount != null ? item.saleCount : 0}} @@ -807,6 +807,9 @@ const amount = item ? parseFloat(item.startingPrice) : 0 return !isNaN(amount) && amount > 0 }, + hasShopSubtitle(item) { + return !!(item && item.subtitle != null && String(item.subtitle).trim() !== '') + }, hasOpenKitchenVideo(item) { return !!(item && item.openKitchenVideoUrl && String(item.openKitchenVideoUrl).trim()) }, @@ -1849,6 +1852,10 @@ .shop-deal { flex: 1; min-width: 0; + display: flex; + align-items: center; + gap: 8rpx; + overflow: hidden; text { display: inline-block; @@ -1862,6 +1869,13 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + min-width: 0; + } + + .deal-start { + flex-shrink: 0; + background: rgba(255, 111, 44, 0.12); + color: #ff6f2c; } }