154 lines
2.8 KiB
CSS
154 lines
2.8 KiB
CSS
/* 门店详情 */
|
|
.store-detail-page {
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.store-detail-hero {
|
|
background: var(--color-card);
|
|
}
|
|
|
|
.store-detail-carousel-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 280px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.store-detail-carousel {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.store-detail-carousel-item,
|
|
.store-detail-carousel-image,
|
|
.store-detail-carousel-placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.store-detail-carousel-placeholder {
|
|
background: var(--color-surface-container);
|
|
}
|
|
|
|
.store-detail-carousel-dots {
|
|
position: absolute;
|
|
bottom: 16px;
|
|
left: 0;
|
|
right: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.store-detail-carousel-dot {
|
|
height: 4px;
|
|
width: 6px;
|
|
margin: 0 3px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.45);
|
|
}
|
|
|
|
.store-detail-carousel-dot--active {
|
|
width: 20px;
|
|
background: #fff;
|
|
}
|
|
|
|
.store-detail-info-card {
|
|
margin: -40px var(--space-page) 16px;
|
|
position: relative;
|
|
z-index: 2;
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-lg);
|
|
padding: 20px 16px;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.store-detail-name {
|
|
display: block;
|
|
font-family: var(--font-headline);
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
color: var(--color-ink-black);
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.store-detail-meta {
|
|
display: block;
|
|
font-size: 13px;
|
|
color: var(--color-on-surface-variant);
|
|
margin-bottom: 6px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.store-detail-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.store-detail-tag {
|
|
padding: 4px 10px;
|
|
margin-right: 8px;
|
|
margin-bottom: 8px;
|
|
border-radius: 999px;
|
|
background: rgba(166, 29, 36, 0.08);
|
|
color: var(--color-heritage-red);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.store-detail-section {
|
|
background: var(--color-card);
|
|
margin: 0 var(--space-page) 16px;
|
|
border-radius: var(--radius-lg);
|
|
padding: 16px;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.store-detail-section-title {
|
|
display: block;
|
|
font-family: var(--font-headline);
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
margin-bottom: 10px;
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.store-detail-bar {
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 50;
|
|
padding: 12px 16px calc(env(safe-area-inset-bottom, 0px) + 12px);
|
|
display: flex;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
border-top: 1px solid rgba(226, 190, 188, 0.1);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.store-detail-bar-btn {
|
|
flex: 1;
|
|
height: 48px;
|
|
border-radius: 999px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.store-detail-bar-btn--ghost {
|
|
background: rgba(166, 29, 36, 0.08);
|
|
color: var(--color-heritage-red);
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.store-detail-bar-btn--primary {
|
|
background: var(--color-heritage-red);
|
|
color: #fff;
|
|
}
|
|
|
|
.store-detail-bar-btn--full {
|
|
flex: 1;
|
|
margin-right: 0;
|
|
}
|