Compare commits

..

No commits in common. "2194a3d6adf6cc169a32a18cea5b37bc2f93b2e7" and "49d1d3b8b8c61b05067f3f0f1432188ce30be8e0" have entirely different histories.

3 changed files with 14 additions and 16 deletions

View File

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

View File

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

View File

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