Repository navigation
feat: Apple Music 布局音质标签支持切换音质 - #468
Open
GLZ-gaoxiaoling wants to merge 2 commits into
Open
GLZ-gaoxiaoling wants to merge 2 commits into
GLZ-gaoxiaoling wants to merge 2 commits into
Conversation
zhr166
pushed a commit
to zhr166/SPlayer-Next
that referenced
this pull request
Nov 12, 2026
This branch has not been deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
改动类型
是否包含破坏性变更
改动说明
Apple Music 风格布局(
apple)没有播放工具栏,因此既无法通过appearance.showQualitySwitch显示已有的QualityControl,音质标签也同时是该布局打开「输出信息」的唯一入口。本 PR 让进度条下方的音质标签承担这两件事:settings.player.songLevel并调用player.reloadCurrentTrack()从当前进度续播,与现有QualityControl.vue行为一致。canSwitchQuality判定,仅显示提示与输出信息入口,不展示档位。视觉上标签本体保持原有
rounded-[4px]+bg-cover/15胶囊和IconSpLossless无损图标,未新增任何常驻按钮或图标,仅在悬停 / 展开时把底色提亮到bg-cover/25。浮层复用SPopover的cover玻璃拟态配方,标题、档位行、勾选标记沿用QualityControl.vue/SPopselect.vue的既有规格;文案全部复用已有 i18n key,未新增语言条目。改动仅涉及一个组件文件。关联 Issue
无
测试情况
pnpm typecheck(tsc+vue-tsc双目标)通过pnpm lint(全仓库 ESLint)通过pnpm prettier --check .通过electron-vite build构建通过,确认 SFC 编译与自动导入组件解析正常canSwitchQuality判定、菜单关闭时机、原有音频信息入口均核对过自查清单
pnpm format,并确认pnpm typecheck、pnpm lint通过pnpm build:native验证;未手写native/*/index.d.ts(本次不涉及原生模块)dev分支提交