feat: 首页版本号、简介布局与反显、密钥眼睛融合、定时拉取开关
Build and Deploy / build (push) Successful in 11s
Build and Deploy / deploy (push) Failing after 49s

This commit is contained in:
cheney
2026-09-01 11:15:35 +08:00
parent c09857cc81
commit 64f3f6ea58
12 changed files with 48 additions and 20 deletions
+2 -4
View File
@@ -127,10 +127,8 @@
var show = input.type === "password";
input.type = show ? "text" : "password";
btn.setAttribute("aria-label", show ? "隐藏密码" : "显示密码");
var open = btn.querySelector(".eye-open");
var closed = btn.querySelector(".eye-closed");
if (open) open.hidden = show;
if (closed) closed.hidden = !show;
if (show) btn.setAttribute("data-show", "");
else btn.removeAttribute("data-show");
});
});