176 lines
3.0 KiB
Plaintext
176 lines
3.0 KiB
Plaintext
.product-page {
|
|
background: var(--theme-page-bg);
|
|
}
|
|
|
|
.product-page-content {
|
|
padding-top: 10rpx;
|
|
}
|
|
|
|
.sticky-filter-bar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 12;
|
|
padding: 6rpx 0 16rpx;
|
|
background: var(--theme-page-bg);
|
|
}
|
|
|
|
.filter-surface {
|
|
padding: 16rpx 16rpx 14rpx;
|
|
border-radius: 24rpx;
|
|
border: 1rpx solid var(--theme-border);
|
|
background: var(--theme-card-bg);
|
|
box-shadow: 0 18rpx 40rpx rgba(74, 68, 63, 0.08);
|
|
}
|
|
|
|
.search-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
}
|
|
|
|
.search-input {
|
|
flex: 1;
|
|
height: 68rpx;
|
|
padding: 0 22rpx;
|
|
border-radius: 999rpx;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--text-primary);
|
|
font-size: 26rpx;
|
|
}
|
|
|
|
.search-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 112rpx;
|
|
height: 68rpx;
|
|
padding: 0 28rpx;
|
|
border-radius: 999rpx;
|
|
background: var(--theme-gradient);
|
|
color: #ffffff;
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.category-scroll {
|
|
margin-top: 14rpx;
|
|
width: 100%;
|
|
height: 56rpx;
|
|
min-height: 56rpx;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.category-list {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
min-height: 56rpx;
|
|
padding-right: 4rpx;
|
|
}
|
|
|
|
.category-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
min-width: 88rpx;
|
|
height: 50rpx;
|
|
padding: 0 20rpx;
|
|
border-radius: 999rpx;
|
|
border: 1rpx solid var(--theme-border);
|
|
background: var(--theme-primary-soft);
|
|
color: var(--text-secondary);
|
|
font-size: 22rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.filter-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.filter-group-title {
|
|
color: var(--theme-primary-action);
|
|
font-size: 22rpx;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.category-item.active {
|
|
border-color: var(--theme-secondary);
|
|
background: var(--theme-secondary-soft);
|
|
color: var(--theme-primary-action);
|
|
}
|
|
|
|
.results-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12rpx;
|
|
margin-top: 14rpx;
|
|
}
|
|
|
|
.results-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
min-width: 0;
|
|
}
|
|
|
|
.results-count {
|
|
flex-shrink: 0;
|
|
font-size: 24rpx;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.filter-summary-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-width: 0;
|
|
max-width: 360rpx;
|
|
height: 46rpx;
|
|
padding: 0 18rpx;
|
|
border-radius: 999rpx;
|
|
background: var(--theme-primary-soft);
|
|
color: var(--theme-primary);
|
|
font-size: 22rpx;
|
|
font-weight: 600;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.results-reset {
|
|
flex-shrink: 0;
|
|
height: 52rpx;
|
|
padding: 0 20rpx;
|
|
min-width: 0;
|
|
font-size: 22rpx;
|
|
}
|
|
|
|
.product-grid {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 14rpx;
|
|
margin-top: 18rpx;
|
|
}
|
|
|
|
.product-grid-item {
|
|
min-width: 0;
|
|
width: calc(50% - 7rpx);
|
|
}
|
|
|
|
.load-state {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20rpx 0 10rpx;
|
|
}
|
|
|
|
.load-state-text {
|
|
font-size: 22rpx;
|
|
color: var(--text-secondary);
|
|
}
|