feat: 添加 CPA 地址输入框的显示/隐藏功能,优化用户体验

This commit is contained in:
QLHazyCoder
2026-04-11 02:57:18 +08:00
parent c14266ee4d
commit e1ca2a65e4
2 changed files with 31 additions and 5 deletions
+4 -1
View File
@@ -46,7 +46,10 @@
<div class="data-card">
<div class="data-row">
<span class="data-label">CPA</span>
<input type="password" id="input-vps-url" class="data-input" placeholder="http://ip:port/management.html#/oauth" />
<div class="input-with-icon">
<input type="password" id="input-vps-url" class="data-input data-input-with-icon" placeholder="http://ip:port/management.html#/oauth" />
<button id="btn-toggle-vps-url" class="input-icon-btn" type="button" aria-label="显示 CPA 地址" title="显示 CPA 地址"></button>
</div>
</div>
<div class="data-row">
<span class="data-label">管理密钥</span>