feat(listing): 优化优质号主发布与极品专区体验

This commit is contained in:
yml2213
2026-11-04 15:59:53 +08:00
parent 98174c0e33
commit e9102026ae
22 changed files with 812 additions and 88 deletions
@@ -705,7 +705,7 @@
.ratio-mode-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
@@ -727,6 +727,50 @@
font-size: 12px;
}
.ratio-mode-btn em {
width: max-content;
padding: 3px 7px;
border-radius: 10px;
background: #fff3d6;
color: #9a6700;
font-size: 10px;
font-style: normal;
font-weight: 900;
letter-spacing: 0;
}
.ratio-mode-btn--quality {
position: relative;
overflow: hidden;
border-color: #dfc98c;
background: linear-gradient(135deg, #fffaf0 0%, #f8f3ff 100%);
}
.ratio-mode-btn--quality strong {
color: #7a4b0d;
}
.ratio-mode-btn--quality > * {
position: relative;
z-index: 1;
}
.ratio-mode-btn--quality.active {
border-color: #b7791f;
background: linear-gradient(135deg, #fff4d8 0%, #f5edff 100%);
color: #7a4b0d;
box-shadow: 0 0 0 2px rgba(183, 121, 31, 0.12);
}
.ratio-mode-btn--quality.active em {
background: #b7791f;
color: #fff;
}
.ratio-mode-btn--quality.active span {
color: #7a4b0d;
}
.ratio-custom-card {
display: flex;
flex-direction: column;
@@ -1022,6 +1066,16 @@
background: #f8fafc;
}
.premium-coverage-panel.is-quality-owner {
border-color: #e6d7b5;
background: linear-gradient(145deg, #fffdf8 0%, #faf8ff 100%);
}
.premium-coverage-panel.is-premium-active {
border-color: #d4ad5e;
box-shadow: 0 10px 28px rgba(139, 92, 20, 0.08);
}
.premium-zone-row,
.coverage-heading {
display: flex;
@@ -1035,6 +1089,33 @@
min-width: 0;
}
.premium-zone-copy {
display: grid;
gap: 5px;
}
.premium-zone-title {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 8px;
}
.premium-zone-title em {
padding: 3px 8px;
border-radius: 10px;
background: #fff3d6;
color: #8b5a0d;
font-size: 10px;
font-style: normal;
font-weight: 900;
}
.premium-zone-title em.is-locked {
background: #f1f3f6;
color: #7b8492;
}
.premium-zone-row strong,
.coverage-heading strong {
display: block;
@@ -1051,17 +1132,52 @@
line-height: 1.5;
}
.quality-owner-link {
justify-self: start;
padding: 0;
border: none;
background: transparent;
color: #7c3aed;
font-size: 12px;
.premium-zone-action {
display: flex;
align-items: center;
flex-shrink: 0;
gap: 9px;
}
.premium-zone-action > span {
font-weight: 800;
}
.premium-zone-action.is-active > span {
color: #6d35c7;
}
.premium-zone-action :deep(.el-switch.is-checked .el-switch__core) {
border-color: #7c3aed;
background: #7c3aed;
box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
}
.premium-zone-action :deep(.el-switch.is-disabled) {
opacity: 0.78;
}
.quality-owner-link {
display: inline-flex;
align-items: center;
justify-self: start;
gap: 4px;
min-height: 30px;
padding: 0 10px;
border: 1px solid #ddd0f2;
border-radius: 15px;
background: #faf5ff;
color: #6d35c7;
font-size: 12px;
font-weight: 900;
cursor: pointer;
}
.quality-owner-link:hover {
border-color: #c7acdf;
background: #f4ebff;
}
.coverage-option-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
@@ -1086,6 +1202,33 @@
font-weight: 900;
}
.coverage-option > .coverage-option-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
color: inherit;
font-size: inherit;
font-weight: inherit;
line-height: normal;
}
.coverage-option .coverage-rate {
flex-shrink: 0;
padding: 3px 8px;
border-radius: 10px;
background: #f0f2f5;
color: #505a68;
font-size: 12px;
font-style: normal;
font-weight: 900;
}
.coverage-option .coverage-rate.is-insurance {
background: #f3ebff;
color: #6d35c7;
}
.coverage-option span {
color: #6b7280;
font-size: 12px;
@@ -1100,6 +1243,13 @@
font-weight: 800;
}
.coverage-option .coverage-special-rate {
width: max-content;
padding: 3px 7px;
border-radius: 9px;
background: #f3ebff;
}
.coverage-option.active {
border-color: #7c3aed;
background: #faf5ff;