Repository navigation
fix(video): 缩略图显示时隐藏进度条时间气泡,同屏单时间(#1953 复测) - #1964
Merged
Merged
Conversation
This was referenced Dec 2, 2026
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.
变更概述
#1953 复测续修:缩略图已显真实画面,但 Artplayer 进度条自带的时间气泡(
.art-progress-tip)与缩略图同屏两处时间。用户裁定:只显示缩略图。缩略图显隐时给$player切vp-thumb-show类,CSS 据此隐藏气泡;音频无缩略图不触此类,气泡保留。关联 Issue
fixes #1953(复测残留)
变更内容
src/components/Content/VideoPlayer.tsx:新增 effect——thumb显隐同步art.template.$player.classList.toggle("vp-thumb-show", thumb !== null)。src/styles/player.css:.art-video-player.art-video-player.vp-thumb-show .art-progress-tip { display: none }。e2e/video-controls.spec.ts:缩略图悬停用例补断言——缩略图显示时.art-progress-tip计算值display: none。.artifacts/1953/state-coverage.json:扩到 6 态(含明/暗 tip 隐藏态)。影响范围
验证方式(QG-5 编排器亲跑)
成对证据:
02:54气泡同屏两处时间质量门禁引用
风险评估
风险等级: low
来源: ai-generated
回滚方案
git revert 合并提交即可。