商户管理优化, 商户只能上架下架, 管理员可以编辑

This commit is contained in:
yml2213
2026-08-04 14:35:53 +08:00
parent 6404b10626
commit 16b508eb9b
8 changed files with 202 additions and 196 deletions
+23 -23
View File
@@ -770,20 +770,18 @@ a:hover {
align-items: center;
gap: 6px;
padding: 4px 8px;
margin-bottom: 4px;
margin-bottom: 6px;
font-size: 11.5px;
font-weight: 800;
color: #1e293b;
background: #e2e8f0;
border-radius: 4px;
font-weight: 700;
color: #64748b;
letter-spacing: 0.5px;
}
.api-docs__nav-heading::before {
content: '';
display: inline-block;
width: 5px;
height: 5px;
width: 4px;
height: 4px;
border-radius: 50%;
background: #2563eb;
}
@@ -791,9 +789,10 @@ a:hover {
.api-docs__nav-item {
display: block;
min-height: 32px;
padding: 6px 10px 6px 12px;
padding: 6px 12px;
font-size: 13px;
color: #475569;
font-weight: 500;
color: #334155;
cursor: pointer;
border-radius: 6px;
transition: all 0.15s ease;
@@ -805,15 +804,13 @@ a:hover {
.api-docs__nav-item:hover {
color: #2563eb;
background: #e2e8f0;
background: #eff6ff;
}
.api-docs__nav-item--active {
color: #2563eb !important;
background: #ffffff !important;
font-weight: 700;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
border-left: 3.5px solid #2563eb;
background: #eff6ff !important;
font-weight: 600;
}
.api-docs__nav-sub {
@@ -821,34 +818,37 @@ a:hover {
flex-direction: column;
gap: 2px;
margin: 4px 0 6px 10px;
padding-left: 10px;
border-left: 2px solid #cbd5e1;
padding-left: 12px;
border-left: 1.5px solid #cbd5e1;
}
.api-docs__nav-sub-item {
display: block;
min-height: 28px;
padding: 4px 8px;
padding: 4px 10px;
font-size: 12px;
color: #64748b;
cursor: pointer;
border-radius: 4px;
border-radius: 5px;
transition: all 0.15s ease;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
position: relative;
}
.api-docs__nav-sub-item:hover {
color: #2563eb;
background: #e2e8f0;
background: #f1f5f9;
}
.api-docs__nav-sub-item--active {
color: #1d4ed8 !important;
font-weight: 700;
background: #ffffff !important;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
color: #2563eb !important;
font-weight: 600;
background: #eff6ff !important;
border-left: 2px solid #2563eb;
margin-left: -13.5px;
padding-left: 11.5px;
}
.api-docs__content {