mirror of https://github.com/djteang/OrangeTV.git
Compare commits
3 Commits
49d1d3b8b8
...
2194a3d6ad
| Author | SHA1 | Date |
|---|---|---|
|
|
2194a3d6ad | |
|
|
3fd6211697 | |
|
|
7357131005 |
|
|
@ -26,7 +26,7 @@
|
||||||
- ❤️ **收藏 + 继续观看**:支持 Kvrocks/Redis/Upstash 存储,多端同步进度。
|
- ❤️ **收藏 + 继续观看**:支持 Kvrocks/Redis/Upstash 存储,多端同步进度。
|
||||||
- 📱 **PWA**:离线缓存、安装到桌面/主屏,移动端原生体验。
|
- 📱 **PWA**:离线缓存、安装到桌面/主屏,移动端原生体验。
|
||||||
- 🌗 **响应式布局**:桌面侧边栏 + 移动底部导航,自适应各种屏幕尺寸。
|
- 🌗 **响应式布局**:桌面侧边栏 + 移动底部导航,自适应各种屏幕尺寸。
|
||||||
- 👿 **智能去广告**:自动跳过视频中的切片广告(实验性)。
|
- 👿 **智能去广告**:自动跳过视频中的切片广告(实验性)。
|
||||||
|
|
||||||
### 注意:部署后项目为空壳项目,无内置播放源和直播源,需要自行收集
|
### 注意:部署后项目为空壳项目,无内置播放源和直播源,需要自行收集
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -298,11 +298,12 @@ 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] || '',
|
||||||
})),
|
})),
|
||||||
|
|
|
||||||
|
|
@ -372,20 +372,21 @@ function HomeClient() {
|
||||||
|
|
||||||
return todayAnimes.map((anime, index) => (
|
return todayAnimes.map((anime, index) => (
|
||||||
<div
|
<div
|
||||||
key={`${anime.id}-${index}`}
|
key={`${anime.id || 0}-${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}
|
douban_id={anime.id || 0}
|
||||||
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}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue