feat: 剧集目录与正文标题展示单集目标时长

This commit is contained in:
GouJ committed 2026-10-15 18:11:09 +08:00
1 parent bf09e44dd5
commit 399ce83d67
1 file changed
+2 -1
+2 -1
View File
@@ -164,6 +164,7 @@ onBeforeUnmount(() => observer?.disconnect())
>
<span class="reader-episode-label">第 {{ item.episode }} 集</span>
<span class="reader-episode-title">{{ item.title || '未命名剧集' }}</span>
<span v-if="item.targetDurationSeconds !== null" class="text-xs text-muted">{{ item.targetDurationSeconds }}秒</span>
</NButton>
</div>
</NScrollbar>
@@ -180,7 +181,7 @@ onBeforeUnmount(() => observer?.disconnect())
class="reader-chapter"
>
<header class="reader-chapter-heading">
<p>第 {{ item.episode }} 集</p>
<p>第 {{ item.episode }} 集<span v-if="item.targetDurationSeconds !== null" class="ml-3 text-xs text-muted">目标 {{ item.targetDurationSeconds }} 秒</span></p>
<h2 :id="`${readerId}-heading-${item.episode}`">{{ item.title || '未命名剧集' }}</h2>
</header>
<p v-if="item.summary" class="script-summary">{{ item.summary }}</p>