[PR #893] [MERGED] fix(lyrics): 修复AM歌词页跳转行位置的问题 #708

Closed
opened 2026-02-27 07:12:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imsyy/SPlayer/pull/893
Author: @laoshuikaixue
Created: 2/16/2026
Status: Merged
Merged: 2/20/2026
Merged by: @imsyy

Base: devHead: patch-1


📝 Commits (1)

  • b9ccf8d fix(lyrics): 修复AM歌词页跳转行位置的问题

📊 Changes

1 file changed (+39 additions, -3 deletions)

View changed files

📝 src/components/AMLL/LyricPlayer.vue (+39 -3)

📄 Description

  • 将 watchEffect 替换为 watch 以更好地控制时间变化响应
  • 添加跳转检测逻辑,当时间变化超过 1000ms 时视为跳转操作
  • 针对 v0.2.0 版本实现临时修复,手动处理跳转时的滚动状态重置
  • 强制重置缓冲行和滚动位置以确保正确的歌词显示
  • 保留非跳转情况下的正常时间设置逻辑

Closed #889


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imsyy/SPlayer/pull/893 **Author:** [@laoshuikaixue](https://github.com/laoshuikaixue) **Created:** 2/16/2026 **Status:** ✅ Merged **Merged:** 2/20/2026 **Merged by:** [@imsyy](https://github.com/imsyy) **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`b9ccf8d`](https://github.com/imsyy/SPlayer/commit/b9ccf8da3b49f3831e39c8f6658e1a18ee136626) fix(lyrics): 修复AM歌词页跳转行位置的问题 ### 📊 Changes **1 file changed** (+39 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/components/AMLL/LyricPlayer.vue` (+39 -3) </details> ### 📄 Description - 将 watchEffect 替换为 watch 以更好地控制时间变化响应 - 添加跳转检测逻辑,当时间变化超过 1000ms 时视为跳转操作 - 针对 v0.2.0 版本实现临时修复,手动处理跳转时的滚动状态重置 - 强制重置缓冲行和滚动位置以确保正确的歌词显示 - 保留非跳转情况下的正常时间设置逻辑 Closed #889 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:12:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SPlayer#708
No description provided.