From 8caf5c83138e1e9930beed57053eaa2880f525ad Mon Sep 17 00:00:00 2001 From: yml2213 Date: Wed, 4 Nov 2026 20:54:19 +0800 Subject: [PATCH] =?UTF-8?q?style(points):=20=E4=BC=98=E5=8C=96=E7=A7=AF?= =?UTF-8?q?=E5=88=86=E5=95=86=E5=93=81=E5=8D=A1=E7=89=87=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/points/views/PointsMallView.vue | 44 +++++++++++++++---- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/frontend/src/features/points/views/PointsMallView.vue b/frontend/src/features/points/views/PointsMallView.vue index 567ce7a..39d89a5 100644 --- a/frontend/src/features/points/views/PointsMallView.vue +++ b/frontend/src/features/points/views/PointsMallView.vue @@ -456,7 +456,7 @@ function sourceLabel(source: string) { .product-card { display: grid; - grid-template-rows: 150px 1fr auto; + grid-template-rows: 168px 1fr auto; overflow: hidden; } @@ -478,25 +478,45 @@ function sourceLabel(source: string) { .product-copy { display: grid; align-content: start; - gap: 7px; - padding: 15px; + gap: 9px; + padding: 17px 17px 15px; +} + +.product-copy > span { + display: inline-flex; + align-items: center; + justify-self: start; + min-height: 20px; + padding: 0 8px; + border-radius: 999px; + background: #fff3eb; + line-height: 20px; } .product-copy h2, .ledger-section h2 { margin: 0; - font-size: 17px; +} + +.product-copy h2 { + color: #20242a; + font-size: 18px; + line-height: 1.4; + overflow-wrap: anywhere; } .product-copy p { margin: 0; color: #6b7280; font-size: 12px; - line-height: 1.6; + line-height: 1.7; } .product-copy small { + display: block; + margin-top: 1px; color: #9ca3af; + line-height: 1.5; } .product-action { @@ -504,7 +524,7 @@ function sourceLabel(source: string) { align-items: center; justify-content: space-between; gap: 12px; - padding: 13px 15px; + padding: 14px 17px; border-top: 1px solid #f0f1f4; } @@ -864,15 +884,21 @@ function sourceLabel(source: string) { .is-mobile .product-cover { grid-row: 1 / 3; - min-height: 144px; + min-height: 152px; } .is-mobile .product-copy { - padding: 12px; + gap: 7px; + padding: 14px; + border-left: 1px solid #f3f4f6; +} + +.is-mobile .product-copy h2 { + font-size: 16px; } .is-mobile .product-action { - padding: 10px 12px; + padding: 11px 14px; } @media (max-width: 600px) {