render buttons as neon tubes and rebuild the login page
The previous commit only swapped theme tokens, so buttons kept the solid blue from arco.css: a-button fills with rgb(var(--primary-6)), which maps to --arcoblue-6, not --color-primary. Bridge both naming families so no Arco blue survives. Style buttons as hollow tubes rather than filled blocks: transparent fill, 1px cyan wall, inner glow plus two outer halos, and a glowing label. Hover brightens the wall, active pinches the halo inward, loading pulses, disabled cuts power entirely. Same treatment in red for destructive actions, and hollow-line chips for inputs, tags, switches and popups. Rebuild LoginView to match the approved prototype: 32px masked grid, scanline, IsometricWave, neon card edge, badge, probe status lamp, and default-credential chips. Logic, API calls and lock/reset messaging are unchanged.
This commit is contained in:
@@ -19,6 +19,14 @@ export default {
|
||||
lockResetHint: '如果这是你的服务器,可以执行以下命令清除登录锁定:',
|
||||
defaultLoginResetHint: '如需重置默认 admin 密码,可以执行:',
|
||||
sessionExpired: '登录已过期,请重新登录',
|
||||
probing: '正在探测服务端…',
|
||||
online: '认证服务在线 · 密码登录可用',
|
||||
offline: '无法连接到服务器 · 登录仍可尝试',
|
||||
showPassword: '显示密码',
|
||||
hidePassword: '隐藏密码',
|
||||
fillDefaultCredentials: '填入 admin / 123456',
|
||||
localDeploymentNote: '本地部署 · 无遥测 · 数据不出机器',
|
||||
tokenHint: '登录后 POST /api/auth/login 返回的 token 存入 localStorage',
|
||||
accessDenied: '你没有权限访问该资源',
|
||||
passwordMismatch: '两次密码不一致',
|
||||
passwordTooShort: '密码长度至少 6 个字符',
|
||||
|
||||
Reference in New Issue
Block a user