3c19b7dd97
新增 StorePackage 与变更审核流,覆盖总部直存、合伙/门店提审、C 端展示与套餐异议工单;同步 PRD/开发文档与 REQ 索引。 Co-authored-by: Cursor <cursoragent@cursor.com>
319 lines
5.7 KiB
CSS
319 lines
5.7 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-meta--flex {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.store-detail-row {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.store-detail-action {
|
|
flex-shrink: 0;
|
|
padding: 2px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(166, 29, 36, 0.08);
|
|
color: var(--color-heritage-red);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.store-detail-intro {
|
|
display: block;
|
|
font-size: 14px;
|
|
color: var(--color-on-surface);
|
|
line-height: 1.7;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.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-marquee-wrap {
|
|
margin: 0 var(--space-page) 12px;
|
|
}
|
|
|
|
.store-detail-marquee {
|
|
margin: 0;
|
|
padding: 0;
|
|
border-radius: 8px;
|
|
background: #fff7f6;
|
|
border: 1px solid rgba(166, 29, 36, 0.12);
|
|
overflow: hidden;
|
|
height: 40px;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
}
|
|
|
|
.store-detail-marquee-inner {
|
|
position: absolute;
|
|
top: 50%;
|
|
margin-top: -10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.store-detail-marquee-text {
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
line-height: 20px;
|
|
color: #a61d24;
|
|
}
|
|
|
|
.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-env-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
}
|
|
|
|
.store-detail-env-item {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
border-radius: var(--radius-md, 8px);
|
|
overflow: hidden;
|
|
background: var(--color-surface-container);
|
|
}
|
|
|
|
.store-detail-env-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.store-detail-package-card {
|
|
padding: 12px 0;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.store-detail-package-card:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.store-detail-package-name {
|
|
display: block;
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--color-text-primary, #1a1a1a);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.store-detail-package-body {
|
|
display: block;
|
|
font-size: 14px;
|
|
color: var(--color-text-secondary, #666);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.store-detail-package-meta {
|
|
display: block;
|
|
font-size: 13px;
|
|
color: var(--color-text-tertiary, #999);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.store-detail-package-dispute {
|
|
display: block;
|
|
margin-top: 12px;
|
|
font-size: 13px;
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
.store-detail-dispute-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.45);
|
|
z-index: 1000;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
}
|
|
|
|
.store-detail-dispute-panel {
|
|
width: 100%;
|
|
max-width: 480px;
|
|
background: #fff;
|
|
border-radius: 16px 16px 0 0;
|
|
padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.store-detail-dispute-input {
|
|
width: 100%;
|
|
min-height: 96px;
|
|
margin: 12px 0 16px;
|
|
padding: 12px;
|
|
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
border-radius: 8px;
|
|
box-sizing: border-box;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.store-detail-dispute-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
}
|
|
|
|
.store-detail-dispute-actions .u-btn {
|
|
flex: 1;
|
|
}
|
|
|
|
.store-detail-dispute-actions .u-btn--ghost {
|
|
background: rgba(166, 29, 36, 0.08);
|
|
color: var(--color-heritage-red);
|
|
}
|