This commit is contained in:
mtvpls
2026-08-03 19:55:17 +08:00
parent af34dd8545
commit 1be8671d03
5 changed files with 41 additions and 6 deletions
+4 -4
View File
@@ -7445,10 +7445,10 @@ function PlayPageClient() {
},
},
{
name: '快捷快进',
html: '快捷快进',
name: '快捷快进配置',
html: '快捷快进配置',
icon: '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 5v14" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/><path d="m16 17 5-5-5-5" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M21 12H9" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/></svg>',
tooltip: `当前:${formatQuickForwardDuration(quickForwardSecondsRef.current)},点击修改`,
tooltip: `${formatQuickForwardDuration(quickForwardSecondsRef.current)}`,
onClick: async function () {
const player = artPlayerRef.current;
if (player?.fullscreen) {
@@ -7505,7 +7505,7 @@ function PlayPageClient() {
quickForwardSecondsRef.current = normalizedSeconds;
localStorage.setItem('quickForwardSeconds', String(normalizedSeconds));
if (artPlayerRef.current) {
artPlayerRef.current.notice.show = `快捷快进${formatQuickForwardDuration(normalizedSeconds)}`;
artPlayerRef.current.notice.show = `快捷快进已设置为${formatQuickForwardDuration(normalizedSeconds)}`;
}
cleanup();
};