From c0a94a0d6d945db6a4ae15f64c05f2f51d7ab5a4 Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Thu, 29 Oct 2026 09:33:36 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E6=96=87=E6=97=85=E5=9C=BA?= =?UTF-8?q?=E9=A6=86/=E5=95=86=E6=88=B7=E8=AF=A6=E6=83=85/=E6=9D=83?= =?UTF-8?q?=E7=9B=8A=E5=8C=85=E8=AF=A6=E6=83=85=E4=B8=89=E9=A1=B5=E9=A3=8E?= =?UTF-8?q?=E6=A0=BC=E5=AF=B9=E9=BD=90=E7=8E=B0=E8=A1=8C=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E5=9F=BA=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 场馆列表:搜索栏与卡片按折扣页规格重构(36px 搜索栏、16rpx 圆角卡片、rpx 字号体系),卡片新增固定标签展示位「实体社保卡 / 电子社保卡」; - 商户详情:奶油底+棕色文字系改为首页暖米底 #FDECE2 + 全站灰阶(#333/#666/#999),栏目标题统一 34rpx 加粗渐变条规格,头部卡改纯白,距离与图标底色统一品牌红/浅灰; - 权益详情:旧灰白卡与 OSS 切图标题升级为当前设计语言(暖米底、28rpx 白卡、渐变条标题、柔描边日期卡、红色渐变预约按钮)。 Co-Authored-By: Claude Fable 5 --- pages/rights/detail.vue | 108 ++++++++++++++++++++++------------------ pages/shop/detail.vue | 43 ++++++++-------- pages/venue/venue.vue | 101 +++++++++++++++++++++++-------------- 3 files changed, 144 insertions(+), 108 deletions(-) diff --git a/pages/rights/detail.vue b/pages/rights/detail.vue index 33705ab..af877cd 100644 --- a/pages/rights/detail.vue +++ b/pages/rights/detail.vue @@ -26,7 +26,7 @@ - + 选择预约日期 @@ -61,7 +61,7 @@ - + 权益说明 @@ -177,7 +177,7 @@ export default { @@ -185,22 +185,23 @@ export default { /* 门店卡片(信息+地址合并容器,样式与门店详情页一致) */ .store-card { background-color: #ffffff; - margin: 0 12px 12px 12px; - border-radius: 8px; + margin: 0 24rpx 24rpx; + border-radius: 28rpx; overflow: hidden; } .store-main { display: flex; align-items: flex-start; - padding: 12px; - gap: 12px; + padding: 24rpx; + gap: 20rpx; } .store-img { - width: 100px; - height: 100px; - border-radius: 6px; + width: 180rpx; + height: 180rpx; + border-radius: 16rpx; + background-color: #f7f7f7; flex-shrink: 0; } @@ -209,29 +210,29 @@ export default { display: flex; flex-direction: column; justify-content: flex-start; - gap: 8px; + gap: 8rpx; } .store-name { - font-size: 16px; - font-weight: 500; - color: #1a1818; + font-size: 34rpx; + font-weight: bold; + color: #333333; } .store-category { - font-size: 13px; + font-size: 24rpx; color: #999999; } .store-hours { - font-size: 13px; + font-size: 24rpx; color: #666666; } .divider { - height: 1px; + height: 1rpx; background-color: #f2f2f7; - margin: 0 12px; + margin: 0 24rpx; } /* 地址行(卡片内) */ @@ -239,7 +240,7 @@ export default { display: flex; align-items: center; justify-content: space-between; - padding: 12px; + padding: 24rpx; } .address-text { @@ -254,29 +255,38 @@ export default { .distance-row { display: flex; align-items: center; - gap: 2px; + gap: 4rpx; flex-shrink: 0; - margin-left: 8px; + margin-left: 16rpx; } .distance-text { - font-size: 12px; + font-size: 22rpx; color: #999999; } +/* xuchao: 栏目标题红色渐变规格条,与首页 .bar 同款 */ +.bar { + width: 8rpx; + height: 34rpx; + border-radius: 4rpx; + background: linear-gradient(180deg, #F6613C, #E01818); + flex-shrink: 0; +} + /* 选择预约日期 */ .date-section { background-color: #ffffff; - margin: 12px; - border-radius: 8px; - padding: 16px; + margin: 0 24rpx 24rpx; + border-radius: 28rpx; + padding: 28rpx; } .section-title { display: flex; align-items: center; - gap: 6px; - margin-bottom: 16px; + gap: 14rpx; + margin-bottom: 24rpx; } .section-icon { @@ -292,9 +302,9 @@ export default { } .section-title-text { - font-size: 15px; - font-weight: 600; - color: #1a1818; + font-size: 34rpx; + font-weight: bold; + color: #333333; } .date-list { @@ -308,8 +318,8 @@ export default { flex-direction: column; align-items: center; padding: 12px 8px; - border: 1px solid #e8e8e8; - border-radius: 8px; + border: 1rpx solid #f2f2f7; + border-radius: 16rpx; gap: 4px; } @@ -324,7 +334,7 @@ export default { } .date-weekday { - font-size: 12px; + font-size: 22rpx; color: #999999; } @@ -333,9 +343,9 @@ export default { } .date-day { - font-size: 15px; + font-size: 28rpx; font-weight: 600; - color: #1a1818; + color: #333333; } .date-card.active .date-day { @@ -343,7 +353,7 @@ export default { } .date-stock { - font-size: 11px; + font-size: 22rpx; color: #999999; } @@ -352,7 +362,7 @@ export default { } .date-tip { - font-size: 12px; + font-size: 24rpx; color: #999999; margin-top: 12px; display: block; @@ -385,9 +395,9 @@ export default { } .slot-name { - font-size: 13px; + font-size: 26rpx; font-weight: 600; - color: #1a1818; + color: #333333; } .time-slot-card.active .slot-name { @@ -395,7 +405,7 @@ export default { } .slot-time { - font-size: 11px; + font-size: 22rpx; color: #999999; } @@ -404,7 +414,7 @@ export default { } .slot-stock { - font-size: 11px; + font-size: 22rpx; color: #999999; } @@ -438,9 +448,9 @@ export default { } .discount-item { - font-size: 13px; + font-size: 28rpx; color: #666666; - line-height: 1.6; + line-height: 1.7; } /* 底部预约按钮 */ @@ -461,13 +471,13 @@ export default { } .book-btn { - background-color: #E8542F; + background: linear-gradient(-135deg, #E8542F 0%, #C0301B 100%); color: #ffffff; text-align: center; - font-size: 16px; - font-weight: 500; - height: 44px; - line-height: 44px; - border-radius: 22px; + font-size: 32rpx; + font-weight: 600; + height: 88rpx; + line-height: 88rpx; + border-radius: 44rpx; } diff --git a/pages/shop/detail.vue b/pages/shop/detail.vue index 0795ad7..b056d42 100644 --- a/pages/shop/detail.vue +++ b/pages/shop/detail.vue @@ -159,7 +159,8 @@ diff --git a/pages/venue/venue.vue b/pages/venue/venue.vue index de33cc9..07cdf07 100644 --- a/pages/venue/venue.vue +++ b/pages/venue/venue.vue @@ -4,11 +4,11 @@ - + 返回 - + 搜索 @@ -28,6 +28,11 @@ {{ item.name }} + + + 实体社保卡 + 电子社保卡 + {{ item.category }} {{ item.address }} @@ -173,7 +178,8 @@ export default { .search-area { background-color: #ffffff; - padding: 6px 12px 0; + /* xuchao: 底部留 8px 灰底间隔,与下方卡片不贴死(对齐折扣页) */ + padding: 6px 12px 8px; /* xuchao: 滚动时固定在页面顶部;z-index 高于筛选遮罩(90),保证面板与选中态不被压住 */ position: sticky; top: 0; @@ -190,7 +196,7 @@ export default { display: flex; align-items: center; justify-content: center; - height: 44px; + height: 36px; flex-shrink: 0; gap: 2px; } @@ -204,25 +210,25 @@ export default { flex: 1; display: flex; align-items: center; - height: 44px; + height: 36px; background-color: #ffffff; border: 1px solid #f2f2f7; border-radius: 100px; padding: 4px 8px; - gap: 12px; + gap: 10px; } .search-input { flex: 1; - font-size: 16px; + font-size: 14px; color: #333; } .search-btn { background-color: #E8542F; color: #ffffff; - font-size: 14px; - padding: 4px 10px; + font-size: 13px; + padding: 3px 10px; border-radius: 50px; white-space: nowrap; } @@ -230,27 +236,31 @@ export default { .list-area { /* xuchao: 顶部 12px 必须是页面灰底(不能放进头部的白底里),否则与白色卡片连成一片看不出间隔 */ padding: 12px; + /* xuchao: border-box 防止 padding 撑出页面横向滚动 */ + box-sizing: border-box; } .venue-card { display: flex; - align-items: flex-end; + align-items: flex-start; + box-sizing: border-box; background-color: #ffffff; border: 1px solid #f2f2f7; - border-radius: 6px; - padding: 24px 12px; - gap: 12px; + border-radius: 16rpx; + padding: 24rpx; + gap: 20rpx; box-shadow: 0 2px 3px #f2f2f7; - margin: 12px; + margin-bottom: 12px; } .card-thumb { - width: 75px; - height: 75px; - border-radius: 6px; + width: 180rpx; + height: 180rpx; + border-radius: 16rpx; overflow: hidden; position: relative; flex-shrink: 0; + background-color: #f7f7f7; } /* xuchao: image 由 thumb 裁圆角,自身不再设圆角 */ @@ -266,12 +276,12 @@ export default { left: 0; display: block; max-width: 100%; - padding: 1px 5px; - border-radius: 0 0 6px 0; + padding: 2rpx 10rpx; + border-radius: 0 0 16rpx 0; background: rgba(0, 0, 0, 0.45); color: #ffffff; - font-size: 10px; - line-height: 14px; + font-size: 20rpx; + line-height: 28rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -283,14 +293,13 @@ export default { min-width: 0; display: flex; flex-direction: column; - gap: 0; - width: 100%; - min-width: 0; + align-items: flex-start; + gap: 8rpx; } .card-name { - font-size: 16px; - font-weight: 500; + font-size: 30rpx; + font-weight: 600; color: #000000; width: 100%; overflow: hidden; @@ -298,27 +307,43 @@ export default { white-space: nowrap; } +/* xuchao: 标签展示位——品牌红调胶囊,形制同折扣页 tag-coupon */ +.card-tags { + display: flex; + gap: 8rpx; + flex-shrink: 0; +} + +.tag-card { + font-size: 20rpx; + color: #E8542F; + background: rgba(232, 84, 47, 0.08); + border-radius: 6rpx; + padding: 4rpx 10rpx; + line-height: 1.4; +} + .card-category { - font-size: 14px; - color: #727272; - margin-top: 8px; - /* xuchao: 分类为空也预留一行高度,防止卡片内容底部对齐时名称上下跳动 */ - min-height: 20px; - line-height: 20px; + font-size: 22rpx; + color: #999999; + width: 100%; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .card-bottom { display: flex; align-items: center; justify-content: flex-end; - margin-top: 8px; - gap: 8px; + width: 100%; + gap: 8rpx; } .card-address { flex: 1; - font-size: 14px; - color: #727272; + font-size: 22rpx; + color: #999999; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -333,8 +358,8 @@ export default { } .distance-text { - font-size: 12px; - color: #727272; + font-size: 22rpx; + color: #999999; } .nomore-area {