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="date-section" v-if="detail.isAppointment && detail.dates && detail.dates.length > 0">
|
||||||
<view class="section-title">
|
<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>
|
<text class="section-title-text">选择预约日期</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="date-list">
|
<view class="date-list">
|
||||||
@@ -61,7 +61,7 @@
|
|||||||
<!-- 使用说明 -->
|
<!-- 使用说明 -->
|
||||||
<view class="discount-section">
|
<view class="discount-section">
|
||||||
<view class="section-title">
|
<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>
|
<text class="discount-title">权益说明</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="discount-list">
|
<view class="discount-list">
|
||||||
@@ -177,7 +177,7 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
page {
|
page {
|
||||||
background-color: #f2f2f7;
|
background-color: #FDECE2;
|
||||||
padding-top: 24rpx;
|
padding-top: 24rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -185,22 +185,23 @@ export default {
|
|||||||
/* 门店卡片(信息+地址合并容器,样式与门店详情页一致) */
|
/* 门店卡片(信息+地址合并容器,样式与门店详情页一致) */
|
||||||
.store-card {
|
.store-card {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
margin: 0 12px 12px 12px;
|
margin: 0 24rpx 24rpx;
|
||||||
border-radius: 8px;
|
border-radius: 28rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-main {
|
.store-main {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
padding: 12px;
|
padding: 24rpx;
|
||||||
gap: 12px;
|
gap: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-img {
|
.store-img {
|
||||||
width: 100px;
|
width: 180rpx;
|
||||||
height: 100px;
|
height: 180rpx;
|
||||||
border-radius: 6px;
|
border-radius: 16rpx;
|
||||||
|
background-color: #f7f7f7;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -209,29 +210,29 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
gap: 8px;
|
gap: 8rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-name {
|
.store-name {
|
||||||
font-size: 16px;
|
font-size: 34rpx;
|
||||||
font-weight: 500;
|
font-weight: bold;
|
||||||
color: #1a1818;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-category {
|
.store-category {
|
||||||
font-size: 13px;
|
font-size: 24rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.store-hours {
|
.store-hours {
|
||||||
font-size: 13px;
|
font-size: 24rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
}
|
}
|
||||||
|
|
||||||
.divider {
|
.divider {
|
||||||
height: 1px;
|
height: 1rpx;
|
||||||
background-color: #f2f2f7;
|
background-color: #f2f2f7;
|
||||||
margin: 0 12px;
|
margin: 0 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 地址行(卡片内) */
|
/* 地址行(卡片内) */
|
||||||
@@ -239,7 +240,7 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 12px;
|
padding: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.address-text {
|
.address-text {
|
||||||
@@ -254,29 +255,38 @@ export default {
|
|||||||
.distance-row {
|
.distance-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 2px;
|
gap: 4rpx;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin-left: 8px;
|
margin-left: 16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.distance-text {
|
.distance-text {
|
||||||
font-size: 12px;
|
font-size: 22rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* xuchao: 栏目标题红色渐变规格条,与首页 .bar 同款 */
|
||||||
|
.bar {
|
||||||
|
width: 8rpx;
|
||||||
|
height: 34rpx;
|
||||||
|
border-radius: 4rpx;
|
||||||
|
background: linear-gradient(180deg, #F6613C, #E01818);
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* 选择预约日期 */
|
/* 选择预约日期 */
|
||||||
.date-section {
|
.date-section {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
margin: 12px;
|
margin: 0 24rpx 24rpx;
|
||||||
border-radius: 8px;
|
border-radius: 28rpx;
|
||||||
padding: 16px;
|
padding: 28rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
gap: 14rpx;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 24rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-icon {
|
.section-icon {
|
||||||
@@ -292,9 +302,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.section-title-text {
|
.section-title-text {
|
||||||
font-size: 15px;
|
font-size: 34rpx;
|
||||||
font-weight: 600;
|
font-weight: bold;
|
||||||
color: #1a1818;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-list {
|
.date-list {
|
||||||
@@ -308,8 +318,8 @@ export default {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 12px 8px;
|
padding: 12px 8px;
|
||||||
border: 1px solid #e8e8e8;
|
border: 1rpx solid #f2f2f7;
|
||||||
border-radius: 8px;
|
border-radius: 16rpx;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -324,7 +334,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.date-weekday {
|
.date-weekday {
|
||||||
font-size: 12px;
|
font-size: 22rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -333,9 +343,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.date-day {
|
.date-day {
|
||||||
font-size: 15px;
|
font-size: 28rpx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #1a1818;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.date-card.active .date-day {
|
.date-card.active .date-day {
|
||||||
@@ -343,7 +353,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.date-stock {
|
.date-stock {
|
||||||
font-size: 11px;
|
font-size: 22rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -352,7 +362,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.date-tip {
|
.date-tip {
|
||||||
font-size: 12px;
|
font-size: 24rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
display: block;
|
display: block;
|
||||||
@@ -385,9 +395,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.slot-name {
|
.slot-name {
|
||||||
font-size: 13px;
|
font-size: 26rpx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #1a1818;
|
color: #333333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time-slot-card.active .slot-name {
|
.time-slot-card.active .slot-name {
|
||||||
@@ -395,7 +405,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.slot-time {
|
.slot-time {
|
||||||
font-size: 11px;
|
font-size: 22rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -404,7 +414,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.slot-stock {
|
.slot-stock {
|
||||||
font-size: 11px;
|
font-size: 22rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -438,9 +448,9 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.discount-item {
|
.discount-item {
|
||||||
font-size: 13px;
|
font-size: 28rpx;
|
||||||
color: #666666;
|
color: #666666;
|
||||||
line-height: 1.6;
|
line-height: 1.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 底部预约按钮 */
|
/* 底部预约按钮 */
|
||||||
@@ -461,13 +471,13 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.book-btn {
|
.book-btn {
|
||||||
background-color: #E8542F;
|
background: linear-gradient(-135deg, #E8542F 0%, #C0301B 100%);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 16px;
|
font-size: 32rpx;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
height: 44px;
|
height: 88rpx;
|
||||||
line-height: 44px;
|
line-height: 88rpx;
|
||||||
border-radius: 22px;
|
border-radius: 44rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
+22
-21
@@ -159,7 +159,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.page { min-height: 100vh; background: #F6EFE6; }
|
/* xuchao: 页面底色对齐首页设计稿暖米色(原奶油底 #F6EFE6 与全站不一致) */
|
||||||
|
.page { min-height: 100vh; background: #FDECE2; }
|
||||||
</style>
|
</style>
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.nav-bar {
|
.nav-bar {
|
||||||
@@ -174,17 +175,17 @@
|
|||||||
.body { padding: 24rpx; }
|
.body { padding: 24rpx; }
|
||||||
|
|
||||||
.head-card {
|
.head-card {
|
||||||
background: linear-gradient(180deg, #FFF7EC 0%, #FFFDF9 40%, #FFFFFF 100%);
|
background: #FFFFFF;
|
||||||
border-radius: 28rpx; padding: 28rpx;
|
border-radius: 28rpx; padding: 28rpx;
|
||||||
}
|
}
|
||||||
.head-top { display: flex; align-items: center; gap: 20rpx; }
|
.head-top { display: flex; align-items: center; gap: 20rpx; }
|
||||||
.logo-box {
|
.logo-box {
|
||||||
width: 96rpx; height: 96rpx; border-radius: 16rpx; overflow: hidden;
|
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; }
|
.logo { width: 100%; height: 100%; display: block; }
|
||||||
.head-name {
|
.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: 店铺名完整显示,允许换行,不用省略号 */
|
/* xuchao: 店铺名完整显示,允许换行,不用省略号 */
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
word-break: break-all;
|
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-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; }
|
.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; }
|
.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 { 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; }
|
.card-title { display: flex; align-items: center; gap: 14rpx; font-size: 34rpx; font-weight: bold; color: #333333; }
|
||||||
.bar { width: 8rpx; height: 30rpx; border-radius: 4rpx; background: linear-gradient(180deg, #F6613C, #E01818); }
|
.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: #4A3A2E; line-height: 1.7; }
|
.rules-rich { display: block; margin-top: 20rpx; font-size: 28rpx; color: #666666; line-height: 1.7; }
|
||||||
.rule-line { display: flex; margin-top: 20rpx; }
|
.rule-line { display: flex; margin-top: 20rpx; }
|
||||||
.rule-no { width: 32rpx; flex-shrink: 0; font-size: 28rpx; color: #4A3A2E; line-height: 1.7; }
|
.rule-no { width: 32rpx; flex-shrink: 0; font-size: 28rpx; color: #666666; line-height: 1.7; }
|
||||||
.rule-txt { flex: 1; font-size: 28rpx; color: #4A3A2E; 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: #B8A28E; }
|
.rule-empty { display: block; margin-top: 16rpx; font-size: 26rpx; color: #999999; }
|
||||||
|
|
||||||
.shops-head { display: flex; align-items: center; justify-content: space-between; }
|
.shops-head { display: flex; align-items: center; justify-content: space-between; }
|
||||||
.shops-title { font-size: 32rpx; font-weight: 800; color: #33200F; }
|
.shops-title { font-size: 34rpx; font-weight: bold; color: #333333; }
|
||||||
.shops-count { font-size: 24rpx; font-weight: 400; color: #A78D75; }
|
.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; }
|
.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 { 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; }
|
.chev.up { transform: rotate(-135deg); width: 8rpx; height: 8rpx; }
|
||||||
|
|
||||||
.shop-row {
|
.shop-row {
|
||||||
display: flex; align-items: center; gap: 16rpx;
|
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; }
|
.shop-row:last-child { border-bottom: none; }
|
||||||
.pin { flex-shrink: 0; }
|
.pin { flex-shrink: 0; }
|
||||||
.shop-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6rpx; }
|
.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-name { font-size: 28rpx; font-weight: 600; color: #333333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||||
.shop-addr { font-size: 22rpx; color: #A78D75; 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-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 {
|
.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;
|
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; }
|
.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: #B8A28E; font-size: 26rpx; padding: 120rpx 0; }
|
.loading-tip { text-align: center; color: #999999; font-size: 26rpx; padding: 120rpx 0; }
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
+63
-38
@@ -4,11 +4,11 @@
|
|||||||
<view class="search-area">
|
<view class="search-area">
|
||||||
<view class="nav-row">
|
<view class="nav-row">
|
||||||
<view class="back-btn" @click="goBack">
|
<view class="back-btn" @click="goBack">
|
||||||
<u-icon name="arrow-left" color="#333333" size="40"></u-icon>
|
<u-icon name="arrow-left" color="#333333" size="32"></u-icon>
|
||||||
<text class="back-text">返回</text>
|
<text class="back-text">返回</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="search-bar">
|
<view class="search-bar">
|
||||||
<u-icon name="search" color="#8e8e93" size="36"></u-icon>
|
<u-icon name="search" color="#8e8e93" size="30"></u-icon>
|
||||||
<input class="search-input" v-model="keyword" placeholder="请搜索场馆名" confirm-type="search" @confirm="onSearch" />
|
<input class="search-input" v-model="keyword" placeholder="请搜索场馆名" confirm-type="search" @confirm="onSearch" />
|
||||||
<view class="search-btn" @click="onSearch">搜索</view>
|
<view class="search-btn" @click="onSearch">搜索</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -28,6 +28,11 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="card-info">
|
<view class="card-info">
|
||||||
<text class="card-name">{{ item.name }}</text>
|
<text class="card-name">{{ item.name }}</text>
|
||||||
|
<!-- xuchao: 标签展示位——场馆均支持实体/电子社保卡,固定两枚 -->
|
||||||
|
<view class="card-tags">
|
||||||
|
<text class="tag-card">实体社保卡</text>
|
||||||
|
<text class="tag-card">电子社保卡</text>
|
||||||
|
</view>
|
||||||
<text class="card-category">{{ item.category }}</text>
|
<text class="card-category">{{ item.category }}</text>
|
||||||
<view class="card-bottom">
|
<view class="card-bottom">
|
||||||
<text class="card-address">{{ item.address }}</text>
|
<text class="card-address">{{ item.address }}</text>
|
||||||
@@ -173,7 +178,8 @@ export default {
|
|||||||
|
|
||||||
.search-area {
|
.search-area {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
padding: 6px 12px 0;
|
/* xuchao: 底部留 8px 灰底间隔,与下方卡片不贴死(对齐折扣页) */
|
||||||
|
padding: 6px 12px 8px;
|
||||||
/* xuchao: 滚动时固定在页面顶部;z-index 高于筛选遮罩(90),保证面板与选中态不被压住 */
|
/* xuchao: 滚动时固定在页面顶部;z-index 高于筛选遮罩(90),保证面板与选中态不被压住 */
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -190,7 +196,7 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 44px;
|
height: 36px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
}
|
}
|
||||||
@@ -204,25 +210,25 @@ export default {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 44px;
|
height: 36px;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border: 1px solid #f2f2f7;
|
border: 1px solid #f2f2f7;
|
||||||
border-radius: 100px;
|
border-radius: 100px;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
gap: 12px;
|
gap: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-input {
|
.search-input {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-btn {
|
.search-btn {
|
||||||
background-color: #E8542F;
|
background-color: #E8542F;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 14px;
|
font-size: 13px;
|
||||||
padding: 4px 10px;
|
padding: 3px 10px;
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@@ -230,27 +236,31 @@ export default {
|
|||||||
.list-area {
|
.list-area {
|
||||||
/* xuchao: 顶部 12px 必须是页面灰底(不能放进头部的白底里),否则与白色卡片连成一片看不出间隔 */
|
/* xuchao: 顶部 12px 必须是页面灰底(不能放进头部的白底里),否则与白色卡片连成一片看不出间隔 */
|
||||||
padding: 12px;
|
padding: 12px;
|
||||||
|
/* xuchao: border-box 防止 padding 撑出页面横向滚动 */
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.venue-card {
|
.venue-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-end;
|
align-items: flex-start;
|
||||||
|
box-sizing: border-box;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
border: 1px solid #f2f2f7;
|
border: 1px solid #f2f2f7;
|
||||||
border-radius: 6px;
|
border-radius: 16rpx;
|
||||||
padding: 24px 12px;
|
padding: 24rpx;
|
||||||
gap: 12px;
|
gap: 20rpx;
|
||||||
box-shadow: 0 2px 3px #f2f2f7;
|
box-shadow: 0 2px 3px #f2f2f7;
|
||||||
margin: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-thumb {
|
.card-thumb {
|
||||||
width: 75px;
|
width: 180rpx;
|
||||||
height: 75px;
|
height: 180rpx;
|
||||||
border-radius: 6px;
|
border-radius: 16rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
position: relative;
|
position: relative;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
background-color: #f7f7f7;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* xuchao: image 由 thumb 裁圆角,自身不再设圆角 */
|
/* xuchao: image 由 thumb 裁圆角,自身不再设圆角 */
|
||||||
@@ -266,12 +276,12 @@ export default {
|
|||||||
left: 0;
|
left: 0;
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 1px 5px;
|
padding: 2rpx 10rpx;
|
||||||
border-radius: 0 0 6px 0;
|
border-radius: 0 0 16rpx 0;
|
||||||
background: rgba(0, 0, 0, 0.45);
|
background: rgba(0, 0, 0, 0.45);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
font-size: 10px;
|
font-size: 20rpx;
|
||||||
line-height: 14px;
|
line-height: 28rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -283,14 +293,13 @@ export default {
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 0;
|
align-items: flex-start;
|
||||||
width: 100%;
|
gap: 8rpx;
|
||||||
min-width: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-name {
|
.card-name {
|
||||||
font-size: 16px;
|
font-size: 30rpx;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@@ -298,27 +307,43 @@ export default {
|
|||||||
white-space: nowrap;
|
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 {
|
.card-category {
|
||||||
font-size: 14px;
|
font-size: 22rpx;
|
||||||
color: #727272;
|
color: #999999;
|
||||||
margin-top: 8px;
|
width: 100%;
|
||||||
/* xuchao: 分类为空也预留一行高度,防止卡片内容底部对齐时名称上下跳动 */
|
overflow: hidden;
|
||||||
min-height: 20px;
|
text-overflow: ellipsis;
|
||||||
line-height: 20px;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-bottom {
|
.card-bottom {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
margin-top: 8px;
|
width: 100%;
|
||||||
gap: 8px;
|
gap: 8rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-address {
|
.card-address {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
font-size: 14px;
|
font-size: 22rpx;
|
||||||
color: #727272;
|
color: #999999;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@@ -333,8 +358,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.distance-text {
|
.distance-text {
|
||||||
font-size: 12px;
|
font-size: 22rpx;
|
||||||
color: #727272;
|
color: #999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nomore-area {
|
.nomore-area {
|
||||||
|
|||||||
Reference in New Issue
Block a user