feat(site): 对齐参考站点UI与交互调整
- 页脚:响应耗时文字统一为「响应耗时 XXXms」,版本链接改为 GitHub 官方仓库,默认 ICP 备案号设置为粤ICP备2025450093号 - 顶部栏:恢复主题切换按钮与语言按钮(语言暂为占位提示),放置于用户区左侧 - 主题:修复首屏内联脚本默认主题白名单校验,避免 localStorage 中残留的 light/dark/System 等非法值生效,首屏默认改为 ClassicLight(仅允许 ClassicLight/ModernLight) - 登录页:在密码输入框下方恢复「忘记密码?」入口,新增配套的找回密码引导页 /forgot-password - 默认配置:system-settings 兜底记录与 SYSTEM_SETTINGS_DEFAULTS 新增 icpNumber 默认值
This commit is contained in:
@@ -74,6 +74,11 @@
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="forgot-password-row">
|
||||
<NuxtLink to="/forgot-password" class="forgot-password-link">
|
||||
忘记密码?
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="error" class="error-container">
|
||||
@@ -556,6 +561,25 @@ const handleWebAuthnLogin = async () => {
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.forgot-password-row {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.forgot-password-link {
|
||||
font-size: 13px;
|
||||
color: var(--primary);
|
||||
text-decoration: none;
|
||||
font-weight: var(--font-medium);
|
||||
transition: opacity 0.2s ease;
|
||||
}
|
||||
|
||||
.forgot-password-link:hover {
|
||||
opacity: 0.8;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.form-footer {
|
||||
margin-top: 24px;
|
||||
text-align: center;
|
||||
|
||||
@@ -23,11 +23,16 @@
|
||||
</span>
|
||||
<span v-if="siteTitle" class="footer-item">© {{ currentYear }} {{ siteTitle }}</span>
|
||||
<span v-else class="footer-item">© {{ currentYear }} {{ copyrightOwner }}</span>
|
||||
<span class="footer-item">Worker in {{ responseTime }}ms</span>
|
||||
<span class="footer-item">响应耗时 {{ responseTime }}ms</span>
|
||||
<span class="footer-item">
|
||||
<NuxtLink class="voicehub-link" to="/changelog">
|
||||
<a
|
||||
class="voicehub-link"
|
||||
href="https://github.com/laoshuikaixue/VoiceHub"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
{{ displayName }} v{{ systemVersion }}
|
||||
</NuxtLink>
|
||||
</a>
|
||||
</span>
|
||||
<span v-if="isNetlify" class="footer-item">
|
||||
<a
|
||||
|
||||
Reference in New Issue
Block a user