优化阅读功能

This commit is contained in:
truewhile
2026-10-01 21:57:25 +08:00
parent c1ff55ffbf
commit ce4319ec25
56 changed files with 9511 additions and 354 deletions
+1 -3
View File
@@ -24,7 +24,6 @@ import {
HomeLoadingState,
} from './HomePageSections'
import { ReaderHomeContent } from './reader/ReaderHomeContent'
import { ReaderModeSwitch } from './reader/ReaderModeSwitch'
import { useReaderSettingsStore } from '../stores/readerSettings'
const hasArtwork = (media?: Media | null) => !!(media?.poster_url || media?.backdrop_url)
@@ -323,7 +322,7 @@ export function HomePage() {
if (homeMode === 'reading') {
return (
<div className="space-y-6 pb-16">
<ReaderHomeContent />
<ReaderHomeContent embedded />
</div>
)
}
@@ -340,7 +339,6 @@ export function HomePage() {
return (
<div className="space-y-12 pb-16">
<ReaderModeSwitch />
{/* 1. 顶部海报轮播区 */}
{carouselItems.length > 0 && (
<HomeCarouselSection items={carouselItems} libraryMap={libraryMap} />