This commit is contained in:
GH Action - Upstream Sync 2025-09-25 03:15:08 +00:00
commit 3cc34a26b3
3 changed files with 16 additions and 14 deletions

View File

@ -26,7 +26,7 @@
- ❤️ **收藏 + 继续观看**:支持 Kvrocks/Redis/Upstash 存储,多端同步进度。
- 📱 **PWA**:离线缓存、安装到桌面/主屏,移动端原生体验。
- 🌗 **响应式布局**:桌面侧边栏 + 移动底部导航,自适应各种屏幕尺寸。
- 👿 **智能去广告**:自动跳过视频中的切片广告(实验性)
- 👿 **智能去广告**:自动跳过视频中的切片广告(实验性)
### 注意:部署后项目为空壳项目,无内置播放源和直播源,需要自行收集

View File

@ -298,11 +298,12 @@ function DoubanPageClient() {
id: item.id?.toString() || '',
title: item.name_cn || item.name,
poster:
item.images.large ||
item.images.common ||
item.images.medium ||
item.images.small ||
item.images.grid,
item.images?.large ||
item.images?.common ||
item.images?.medium ||
item.images?.small ||
item.images?.grid ||
'', // 空字符串,让 VideoCard 组件处理图片加载失败
rate: item.rating?.score?.toFixed(1) || '',
year: item.air_date?.split('-')?.[0] || '',
})),

View File

@ -372,20 +372,21 @@ function HomeClient() {
return todayAnimes.map((anime, index) => (
<div
key={`${anime.id}-${index}`}
key={`${anime.id || 0}-${index}`}
className='min-w-[96px] w-24 sm:min-w-[180px] sm:w-44'
>
<VideoCard
from='douban'
title={anime.name_cn || anime.name}
title={anime.name_cn || anime.name || '未知标题'}
poster={
anime.images.large ||
anime.images.common ||
anime.images.medium ||
anime.images.small ||
anime.images.grid
anime.images?.large ||
anime.images?.common ||
anime.images?.medium ||
anime.images?.small ||
anime.images?.grid ||
'' // 空字符串,让 VideoCard 组件处理图片加载失败
}
douban_id={anime.id}
douban_id={anime.id || 0}
rate={anime.rating?.score?.toFixed(1) || ''}
year={anime.air_date?.split('-')?.[0] || ''}
isBangumi={true}