feat: 增强设置管理功能,支持持久化保存配置,优化密码显示和保存按钮交互

This commit is contained in:
QLHazyCoder
2026-04-08 11:22:14 +08:00
parent 9d4b86e7e0
commit bf7de173de
5 changed files with 238 additions and 80 deletions
+5 -2
View File
@@ -78,8 +78,11 @@
<div class="data-row">
<span class="data-label">密码</span>
<div class="data-inline">
<input type="password" id="input-password" class="data-input" placeholder="留空则自动生成" />
<button id="btn-toggle-password" class="btn btn-outline btn-sm" type="button">显示</button>
<div class="input-with-icon">
<input type="password" id="input-password" class="data-input data-input-with-icon" placeholder="留空则自动生成" />
<button id="btn-toggle-password" class="input-icon-btn" type="button" aria-label="显示密码" title="显示密码"></button>
</div>
<button id="btn-save-settings" class="btn btn-outline btn-sm" type="button">保存</button>
</div>
</div>
<div class="data-row data-check-row">