feat: add taro platform admin pages

This commit is contained in:
Codex
2026-06-29 12:31:17 +08:00
parent 9bd608b27e
commit 43c63f5c39
18 changed files with 797 additions and 82 deletions

View File

@@ -0,0 +1,175 @@
.platform-page {
min-height: 100vh;
padding: 28px;
background: #f7f9fc;
color: #172033;
}
.platform-shell {
display: flex;
flex-direction: column;
gap: 26px;
}
.platform-header {
padding-bottom: 24px;
border-bottom: 1px solid #d8e0ec;
}
.platform-kicker {
display: block;
color: #5b6b82;
font-size: 22px;
font-weight: 760;
}
.platform-title {
display: block;
margin-top: 8px;
color: #101827;
font-size: 38px;
font-weight: 820;
line-height: 1.2;
}
.platform-subtitle {
display: block;
margin-top: 10px;
color: #64748b;
font-size: 24px;
line-height: 1.45;
}
.platform-tabs,
.platform-actions {
display: flex;
gap: 12px;
overflow-x: auto;
padding-bottom: 6px;
}
.platform-button {
min-width: 132px;
height: 62px;
border: 1px solid #cbd5e1;
border-radius: 8px;
background: #fff;
color: #1e3a8a;
font-size: 23px;
font-weight: 720;
line-height: 62px;
}
.platform-button.primary {
border-color: #1d4ed8;
background: #1d4ed8;
color: #fff;
}
.platform-button.active {
border-color: #1d4ed8;
background: #eff6ff;
color: #1d4ed8;
}
.platform-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.platform-grid.three {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.platform-metric {
min-height: 112px;
padding: 18px;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #fff;
}
.platform-metric-label {
display: block;
color: #64748b;
font-size: 21px;
}
.platform-metric-value {
display: block;
margin-top: 12px;
color: #0f172a;
font-size: 31px;
font-weight: 820;
line-height: 1.2;
}
.platform-section {
margin-top: 4px;
}
.platform-section-title {
display: block;
margin-bottom: 14px;
color: #0f172a;
font-size: 29px;
font-weight: 820;
}
.platform-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.platform-row {
padding: 20px;
border: 1px solid #e2e8f0;
border-radius: 8px;
background: #fff;
}
.platform-row-main {
display: block;
color: #111827;
font-size: 26px;
font-weight: 760;
line-height: 1.35;
}
.platform-row-meta {
display: block;
margin-top: 8px;
color: #64748b;
font-size: 21px;
line-height: 1.45;
}
.platform-empty {
padding: 32px 22px;
border: 1px dashed #cbd5e1;
border-radius: 8px;
background: #fff;
color: #64748b;
font-size: 23px;
line-height: 1.45;
}
.platform-input {
width: 100%;
height: 66px;
padding: 0 18px;
border: 1px solid #cbd5e1;
border-radius: 8px;
background: #fff;
color: #111827;
font-size: 24px;
}
.platform-error {
display: block;
margin-top: 12px;
color: #be123c;
font-size: 22px;
}