feat: 优化下载页UI交互、支持暗黑主题,移除首页 header 底边框

- downloads.tsx: 删除前弹 Alert 确认框(区分"取消下载"和"删除文件")
- downloads.tsx: 下载出错时显示"重新下载"按钮,跳转视频详情页
- downloads.tsx: 下载中取消按钮改为 close-circle-outline 图标
- downloads.tsx: 已完成条目整行可点击播放,移除单独"播放"按钮
- downloads.tsx: 播放器横竖屏均显示顶部控制栏,点击切换显隐
- downloads.tsx: 移除进度条旁 ActivityIndicator,保留百分比文字
- downloads.tsx: 全部颜色跟随暗黑主题(bg/card/text/textSub/border)
- index.tsx: 移除悬浮 header 底部分割线
This commit is contained in:
Developer
2026-03-25 12:51:14 +08:00
parent e1fa8cc347
commit c7fbc1f441
4 changed files with 119 additions and 72 deletions

View File

@@ -222,7 +222,6 @@ export default function DanmakuList({
{ opacity: item._fadeAnim, borderBottomColor: theme.border },
]}
>
{timeStr ? <Text style={liveStyles.time}>{timeStr}</Text> : null}
<View style={liveStyles.msgBody}>
{guard && (
<View
@@ -257,6 +256,7 @@ export default function DanmakuList({
{item.text}
</Text>
</View>
{timeStr ? <Text style={liveStyles.time}>{timeStr}</Text> : null}
</Animated.View>
);
},
@@ -275,7 +275,7 @@ export default function DanmakuList({
]}
>
<Text
style={[styles.bubbleText, { color: dotColor }]}
style={[styles.bubbleText, { color: theme.text }]}
numberOfLines={3}
>
{item.text}
@@ -450,6 +450,7 @@ const liveStyles = StyleSheet.create({
row: {
flexDirection: "row",
alignItems: "flex-start",
justifyContent:"space-between",
paddingVertical: 5,
},
time: {