修改部份ui

This commit is contained in:
Azmat@qq.com
2026-08-18 18:32:19 +08:00
parent dfe94a923e
commit 18b3927817
19 changed files with 2151 additions and 681 deletions
+3 -3
View File
@@ -375,13 +375,13 @@ export function SettingsPage({
<div className="page-head">
<div>
<h1>设置</h1>
<div className="sub"><span className="mono">// 个人信息 · 偏好 · 通知 · 安全</span></div>
<div className="sub">个人信息、偏好、通知与安全</div>
</div>
<div className="actions">
<button className="btn" type="button" onClick={discardChanges} disabled={!isDirty || saving}>取消</button>
<button className="btn btn-primary" type="button" onClick={handleSaveAll} disabled={!isDirty || saving}>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round"><path d="M4 12l5 5L20 6" /></svg>
保存所有变更
保存所有更改
{isDirty ? <span className="save-count">· {dirtyCount} 项</span> : null}
</button>
</div>
@@ -459,7 +459,7 @@ export function SettingsPage({
<div className="lbl">手机号</div>
<div className="val">
<input className="input" value={phone} onChange={(event) => patchDraft("phone", event.target.value)} placeholder="138****8000" />
<span className="switch-note">// 在「保存所有变更」中一并提交</span>
<span className="switch-note">// 在「保存所有更改」中一并提交</span>
</div>
</div>
<div className="form-row">