Repository navigation
feat(settings): 系统设置保存按钮改为底部吸附浮标 - #8367
Merged
Merged
Conversation
各 tab 表单很长,保存按钮只在滚到最底部时可见。改为 sticky 浮标贴在视口右下角, 样式沿用已有 tab 导航条的毛玻璃胶囊语言,深色模式覆盖放在非 scoped 块内。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
position: sticky浮标贴在视口右下角,任意滚动位置都能直接保存。rounded-full+bg-white/90+backdrop-blur-xl),容器收缩到只包住按钮(实测宽 102px),不占用整行。<style>块,与该块注释记录的 scoped:global(.dark)生产构建丢失问题保持一致。type="submit"、saving || loadFailed时禁用、backuptab 下隐藏。Test plan
vitest run src/views/admin/__tests__/SettingsView.spec.ts→ 43 passedrgba(255,255,255,.9)/rgba(15,23,42,.86))pnpm --dir frontend run build(vue-tsc+vite build)交给 CI 覆盖