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:
co-authored by
Claude Fable 5
parent
069609f409
commit
c0a94a0d6d
+59
-49
@@ -26,7 +26,7 @@
|
||||
<!-- 选择预约日期 -->
|
||||
<view class="date-section" v-if="detail.isAppointment && detail.dates && detail.dates.length > 0">
|
||||
<view class="section-title">
|
||||
<image src="https://aliyunoss.hn12301.net/hhrs/hhrs_xzyyrq.png" style="width: 30rpx;height: 30rpx;"></image>
|
||||
<view class="bar"></view>
|
||||
<text class="section-title-text">选择预约日期</text>
|
||||
</view>
|
||||
<view class="date-list">
|
||||
@@ -61,7 +61,7 @@
|
||||
<!-- 使用说明 -->
|
||||
<view class="discount-section">
|
||||
<view class="section-title">
|
||||
<image src="https://aliyunoss.hn12301.net/hhrs/hhrs_qysm.png" style="width: 30rpx;height: 30rpx;"></image>
|
||||
<view class="bar"></view>
|
||||
<text class="discount-title">权益说明</text>
|
||||
</view>
|
||||
<view class="discount-list">
|
||||
@@ -177,7 +177,7 @@ export default {
|
||||
</script>
|
||||
<style>
|
||||
page {
|
||||
background-color: #f2f2f7;
|
||||
background-color: #FDECE2;
|
||||
padding-top: 24rpx;
|
||||
}
|
||||
</style>
|
||||
@@ -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;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user