style:文旅场馆/商户详情/权益包详情三页风格对齐现行设计基准

- 场馆列表:搜索栏与卡片按折扣页规格重构(36px 搜索栏、16rpx 圆角卡片、rpx 字号体系),卡片新增固定标签展示位「实体社保卡 / 电子社保卡」;
- 商户详情:奶油底+棕色文字系改为首页暖米底 #FDECE2 + 全站灰阶(#333/#666/#999),栏目标题统一 34rpx 加粗渐变条规格,头部卡改纯白,距离与图标底色统一品牌红/浅灰;
- 权益详情:旧灰白卡与 OSS 切图标题升级为当前设计语言(暖米底、28rpx 白卡、渐变条标题、柔描边日期卡、红色渐变预约按钮)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jacobxu666
2026-10-29 09:33:36 +08:00
co-authored by Claude Fable 5
parent 069609f409
commit c0a94a0d6d
3 changed files with 144 additions and 108 deletions
+22 -21
View File
@@ -159,7 +159,8 @@
</script>
<style>
.page { min-height: 100vh; background: #F6EFE6; }
/* xuchao: 页面底色对齐首页设计稿暖米色(原奶油底 #F6EFE6 与全站不一致) */
.page { min-height: 100vh; background: #FDECE2; }
</style>
<style lang="less" scoped>
.nav-bar {
@@ -174,17 +175,17 @@
.body { padding: 24rpx; }
.head-card {
background: linear-gradient(180deg, #FFF7EC 0%, #FFFDF9 40%, #FFFFFF 100%);
background: #FFFFFF;
border-radius: 28rpx; padding: 28rpx;
}
.head-top { display: flex; align-items: center; gap: 20rpx; }
.logo-box {
width: 96rpx; height: 96rpx; border-radius: 16rpx; overflow: hidden;
background: #fff; border: 1rpx solid #F2E4D0; flex-shrink: 0;
background: #f7f7f7; border: 1rpx solid #f2f2f7; flex-shrink: 0;
}
.logo { width: 100%; height: 100%; display: block; }
.head-name {
flex: 1; min-width: 0; font-size: 36rpx; font-weight: 800; color: #33200F;
flex: 1; min-width: 0; font-size: 36rpx; font-weight: bold; color: #333333;
/* xuchao: 店铺名完整显示,允许换行,不用省略号 */
white-space: normal;
word-break: break-all;
@@ -198,41 +199,41 @@
}
.badge-main { font-size: 30rpx; font-weight: 900; color: #fff; line-height: 1.2; white-space: nowrap; }
.badge-sub { font-size: 18rpx; color: rgba(255, 255, 255, .92); margin-top: 4rpx; white-space: nowrap; }
.head-divider { height: 1rpx; background: #F3E7D7; margin: 24rpx 0 18rpx; }
.head-divider { height: 1rpx; background: #f2f2f7; margin: 24rpx 0 18rpx; }
.head-meta { display: flex; flex-direction: column; gap: 8rpx; }
.meta-line { font-size: 24rpx; color: #8A6E56; }
.meta-line { font-size: 24rpx; color: #666666; }
.card { background: #fff; border-radius: 28rpx; padding: 28rpx; margin-top: 24rpx; }
.card-title { display: flex; align-items: center; gap: 14rpx; font-size: 32rpx; font-weight: 800; color: #33200F; }
.bar { width: 8rpx; height: 30rpx; border-radius: 4rpx; background: linear-gradient(180deg, #F6613C, #E01818); }
.rules-rich { display: block; margin-top: 20rpx; font-size: 28rpx; color: #4A3A2E; line-height: 1.7; }
.card-title { display: flex; align-items: center; gap: 14rpx; font-size: 34rpx; font-weight: bold; color: #333333; }
.bar { width: 8rpx; height: 34rpx; border-radius: 4rpx; background: linear-gradient(180deg, #F6613C, #E01818); }
.rules-rich { display: block; margin-top: 20rpx; font-size: 28rpx; color: #666666; line-height: 1.7; }
.rule-line { display: flex; margin-top: 20rpx; }
.rule-no { width: 32rpx; flex-shrink: 0; font-size: 28rpx; color: #4A3A2E; line-height: 1.7; }
.rule-txt { flex: 1; font-size: 28rpx; color: #4A3A2E; line-height: 1.7; }
.rule-empty { display: block; margin-top: 16rpx; font-size: 26rpx; color: #B8A28E; }
.rule-no { width: 32rpx; flex-shrink: 0; font-size: 28rpx; color: #666666; line-height: 1.7; }
.rule-txt { flex: 1; font-size: 28rpx; color: #666666; line-height: 1.7; }
.rule-empty { display: block; margin-top: 16rpx; font-size: 26rpx; color: #999999; }
.shops-head { display: flex; align-items: center; justify-content: space-between; }
.shops-title { font-size: 32rpx; font-weight: 800; color: #33200F; }
.shops-count { font-size: 24rpx; font-weight: 400; color: #A78D75; }
.shops-title { font-size: 34rpx; font-weight: bold; color: #333333; }
.shops-count { font-size: 24rpx; font-weight: 400; color: #999999; }
.shops-more { display: flex; align-items: center; gap: 4rpx; font-size: 26rpx; color: #E0342B; font-weight: 600; }
.chev { width: 10rpx; height: 10rpx; border-top: 3rpx solid #E0342B; border-right: 3rpx solid #E0342B; transform: rotate(45deg); }
.chev.up { transform: rotate(-135deg); width: 8rpx; height: 8rpx; }
.shop-row {
display: flex; align-items: center; gap: 16rpx;
padding: 26rpx 0; border-bottom: 1rpx solid #F5EDE2;
padding: 26rpx 0; border-bottom: 1rpx solid #f2f2f7;
}
.shop-row:last-child { border-bottom: none; }
.pin { flex-shrink: 0; }
.shop-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6rpx; }
.shop-name { font-size: 28rpx; font-weight: 700; color: #33200F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-addr { font-size: 22rpx; color: #A78D75; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-name { font-size: 28rpx; font-weight: 600; color: #333333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-addr { font-size: 22rpx; color: #999999; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-right { display: flex; align-items: center; gap: 14rpx; flex-shrink: 0; }
.shop-dist { font-size: 22rpx; color: #C8542B; margin-right: 4rpx; }
.shop-dist { font-size: 22rpx; color: #E8542F; margin-right: 4rpx; }
.icon-btn {
width: 56rpx; height: 56rpx; border-radius: 50%; background: #F6F2EC;
width: 56rpx; height: 56rpx; border-radius: 50%; background: #f7f7f7;
display: flex; align-items: center; justify-content: center;
}
.collapse { text-align: center; font-size: 24rpx; color: #A78D75; padding-top: 20rpx; display: flex; align-items: center; justify-content: center; gap: 8rpx; }
.loading-tip { text-align: center; color: #B8A28E; font-size: 26rpx; padding: 120rpx 0; }
.collapse { text-align: center; font-size: 24rpx; color: #999999; padding-top: 20rpx; display: flex; align-items: center; justify-content: center; gap: 8rpx; }
.loading-tip { text-align: center; color: #999999; font-size: 26rpx; padding: 120rpx 0; }
</style>