195 lines
3.5 KiB
CSS
195 lines
3.5 KiB
CSS
/* 门店列表 */
|
|
.store-page {
|
|
background: var(--color-background);
|
|
}
|
|
|
|
.store-filter {
|
|
padding: 0 var(--space-page) 12px;
|
|
}
|
|
|
|
.store-search-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.store-search-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 40px;
|
|
padding: 0 14px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-surface-container-low);
|
|
font-size: 13px;
|
|
line-height: 40px;
|
|
color: var(--color-on-surface);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.store-search-input input,
|
|
.store-search-input .taro-input,
|
|
.store-search-input .weui-input {
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
min-height: 0 !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
border: none !important;
|
|
background: transparent !important;
|
|
box-sizing: border-box !important;
|
|
font-size: 13px !important;
|
|
line-height: normal !important;
|
|
color: inherit;
|
|
}
|
|
|
|
.store-search-btn {
|
|
flex-shrink: 0;
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-heritage-red);
|
|
color: #fff;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.store-search-icon {
|
|
position: relative;
|
|
width: 14px;
|
|
height: 14px;
|
|
border: 2px solid currentColor;
|
|
border-radius: 50%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.store-search-icon::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: -5px;
|
|
bottom: -4px;
|
|
width: 7px;
|
|
height: 2px;
|
|
background: currentColor;
|
|
border-radius: 1px;
|
|
transform: rotate(45deg);
|
|
transform-origin: left center;
|
|
}
|
|
|
|
.store-filter-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.store-filter-chip {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 36px;
|
|
padding: 0 10px;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-surface-container-low);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 4px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.store-filter-chip-text {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--color-on-surface);
|
|
}
|
|
|
|
.store-filter-chip-arrow {
|
|
flex-shrink: 0;
|
|
font-size: 10px;
|
|
color: var(--color-subtle-gray);
|
|
}
|
|
|
|
.store-filter-reset {
|
|
flex-shrink: 0;
|
|
height: 36px;
|
|
padding: 0 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--color-heritage-red);
|
|
}
|
|
|
|
.store-list {
|
|
padding: 4px var(--space-page) 16px;
|
|
}
|
|
|
|
.store-card {
|
|
background: var(--color-card);
|
|
border-radius: var(--radius-lg);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-card);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.store-card-cover {
|
|
width: 100%;
|
|
height: 160px;
|
|
background: var(--color-surface-container);
|
|
display: block;
|
|
}
|
|
|
|
.store-card-cover--empty {
|
|
height: 160px;
|
|
background: var(--color-surface-container);
|
|
}
|
|
|
|
.store-card-body {
|
|
padding: 14px 16px 16px;
|
|
}
|
|
|
|
.store-card-name {
|
|
display: block;
|
|
font-family: var(--font-headline);
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: var(--color-on-surface);
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.store-card-meta {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--color-subtle-gray);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.store-card-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.store-card-distance {
|
|
font-size: 12px;
|
|
color: var(--color-on-surface-variant);
|
|
}
|
|
|
|
.store-card-cta {
|
|
padding: 6px 14px;
|
|
border-radius: var(--radius-full);
|
|
background: rgba(166, 29, 36, 0.08);
|
|
color: var(--color-heritage-red);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
}
|