feat: add platform staff management

This commit is contained in:
Codex
2026-06-30 08:28:44 +08:00
parent 780feee4f8
commit 4f64b7aed8
21 changed files with 1205 additions and 25 deletions

View File

@@ -219,6 +219,74 @@
color: #be123c;
}
.platform-mini-button.active {
border-color: #1d4ed8;
background: #eff6ff;
color: #1d4ed8;
}
.platform-permission-panel {
display: flex;
flex-direction: column;
gap: 16px;
margin: 8px 0 16px;
padding: 18px;
border: 1px solid #dbe4f0;
border-radius: 8px;
background: #fff;
}
.platform-permission-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.platform-permission-group {
display: flex;
flex-direction: column;
gap: 8px;
}
.platform-chip-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.platform-chip-list.compact {
margin-top: 14px;
}
.platform-chip {
min-width: 0;
max-width: 100%;
min-height: 48px;
padding: 0 14px;
border: 1px solid #cbd5e1;
border-radius: 8px;
background: #f8fafc;
color: #334155;
font-size: 20px;
font-weight: 680;
line-height: 48px;
}
.platform-chip.active {
border-color: #1d4ed8;
background: #eff6ff;
color: #1d4ed8;
}
.platform-chip.readonly {
display: inline-flex;
align-items: center;
max-width: 100%;
color: #475569;
line-height: 1.25;
}
.platform-error {
display: block;
margin-top: 12px;