Developer
|
33a3148b38
|
feat: 直播小窗播放(PiP)功能
- 新增 store/liveStore.ts:Zustand store,存储小窗直播状态(roomId/title/cover/hlsUrl)
- 新增 components/LiveMiniPlayer.tsx:可拖动悬浮迷你直播播放器
- 原生端实际播放 HLS 流(react-native-video,有声)
- Web 端降级展示封面图 + LIVE 徽标
- LIVE 红点徽标 + 标题条底部
- 关闭按钮(×)和点击进入直播间
- HLS 出错时自动关闭(onError → clearLive)
- 视频 MiniPlayer 激活时自动上移避免重叠
- _layout.tsx:全局挂载 <LiveMiniPlayer />
- live/[roomId].tsx:顶部栏添加小窗按钮(browsers-outline)
- 仅直播中且有流地址时显示,离线时占位保持 title 居中
- 点击后 setLive + router.back(),返回首页继续看直播
- 进入同房间时自动 clearLive() 避免双播
|
2026-03-25 13:16:16 +08:00 |
|
Developer
|
f2fc4693a6
|
feat: 暗黑模式 + 节流模式
- settingsStore: 移除 coverQuality,新增 darkMode / trafficSaving 布尔字段(AsyncStorage 持久化)
- utils/theme.ts: 新建 useTheme() hook,返回浅色/深色颜色表
- settings.tsx: 新增外观(浅色/深色)和流量(标准/节流)选项,移除封面图清晰度
- BigVideoCard: 节流模式跳过预加载、禁止自动播放;封面低画质;支持暗黑配色
- useVideoDetail: 节流模式下默认 qn=16(360p)
- VideoCard / LiveCard: 移除 coverQuality 依赖,改用 trafficSaving;支持暗黑配色
- index.tsx: 导航栏/搜索栏/列表背景跟随主题
- search.tsx: 页面背景/输入框/文字跟随主题
- downloads.tsx: 顶栏/背景/文字跟随主题
- _layout.tsx: StatusBar 随暗黑模式切换 light/dark
|
2026-03-24 21:04:10 +08:00 |
|
Developer
|
462a090599
|
设置页面
|
2026-03-19 16:34:56 +08:00 |
|
Developer
|
94db7445fb
|
视频缓存
|
2026-03-17 22:18:05 +08:00 |
|
Developer
|
cf20b016ff
|
1
|
2026-03-10 19:04:18 +08:00 |
|
Developer
|
a0e53bd073
|
feat: add all source files - services, store, hooks, components, screens
|
2026-03-05 18:02:54 +08:00 |
|