feat: instance system settings page with risk docs, export and transfer
顶栏新增系统设置;风控说明读取 .env;数据导出与资金划转迁入三张卡片;顶栏移除导出条与手动划转。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1917,3 +1917,136 @@ html[data-theme="light"] .journal-detail-img-thumb {
|
||||
background: #eef2f7;
|
||||
}
|
||||
|
||||
/* ── 系统设置页 ── */
|
||||
.settings-page {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.settings-cards-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 16px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.settings-card h2 {
|
||||
margin: 0 0 10px;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.settings-card-desc,
|
||||
.settings-env-hint,
|
||||
.settings-transfer-auto {
|
||||
color: var(--muted, #8892b0);
|
||||
font-size: 0.82rem;
|
||||
line-height: 1.5;
|
||||
margin: 0 0 12px;
|
||||
}
|
||||
|
||||
.settings-live-status {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 0.88rem;
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
.settings-status-reason,
|
||||
.settings-policy-note {
|
||||
color: var(--muted, #8892b0);
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.settings-section {
|
||||
margin-top: 14px;
|
||||
padding-top: 12px;
|
||||
border-top: 1px solid var(--border-soft, #2a3150);
|
||||
}
|
||||
|
||||
.settings-section h3 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 0.92rem;
|
||||
color: #cfd3ef;
|
||||
}
|
||||
|
||||
.settings-kv {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.settings-kv-row {
|
||||
display: grid;
|
||||
grid-template-columns: 9.5em 1fr;
|
||||
gap: 8px 12px;
|
||||
padding: 6px 0;
|
||||
font-size: 0.82rem;
|
||||
border-bottom: 1px dashed rgba(136, 146, 176, 0.15);
|
||||
}
|
||||
|
||||
.settings-kv-row:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.settings-kv-row dt {
|
||||
margin: 0;
|
||||
color: #9aa3c7;
|
||||
}
|
||||
|
||||
.settings-kv-row dd {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.settings-kv-value {
|
||||
color: #e8ecff;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.settings-kv-note {
|
||||
display: block;
|
||||
margin-top: 2px;
|
||||
color: #8892b0;
|
||||
font-size: 0.75rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.settings-link-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.settings-export-link {
|
||||
display: block;
|
||||
padding: 10px 12px;
|
||||
border-radius: 8px;
|
||||
border: 1px solid var(--border-soft, #2a3150);
|
||||
background: var(--inset-surface, #12151f);
|
||||
color: #8fc8ff;
|
||||
text-decoration: none;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
|
||||
.settings-export-link:hover {
|
||||
border-color: #3d4f7a;
|
||||
background: #1a2030;
|
||||
}
|
||||
|
||||
.settings-transfer-form {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .settings-section {
|
||||
border-top-color: #d0dae4;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .settings-section h3,
|
||||
html[data-theme="light"] .settings-kv-value {
|
||||
color: #142232;
|
||||
}
|
||||
|
||||
html[data-theme="light"] .settings-export-link {
|
||||
background: #fff;
|
||||
border-color: #b8c8d8;
|
||||
color: #1d4f8c;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user