feat:弹幕tag样式

This commit is contained in:
Developer
2026-03-25 12:55:31 +08:00
parent c7fbc1f441
commit 13c73cdb25

View File

@@ -222,6 +222,7 @@ export default function DanmakuList({
{ opacity: item._fadeAnim, borderBottomColor: theme.border }, { opacity: item._fadeAnim, borderBottomColor: theme.border },
]} ]}
> >
{timeStr ? <Text style={liveStyles.time}>{timeStr}</Text> : null}
<View style={liveStyles.msgBody}> <View style={liveStyles.msgBody}>
{guard && ( {guard && (
<View <View
@@ -256,7 +257,7 @@ export default function DanmakuList({
{item.text} {item.text}
</Text> </Text>
</View> </View>
{timeStr ? <Text style={liveStyles.time}>{timeStr}</Text> : null}
</Animated.View> </Animated.View>
); );
}, },
@@ -493,7 +494,6 @@ const liveStyles = StyleSheet.create({
paddingHorizontal: 3, paddingHorizontal: 3,
}, },
medalLvBox: { medalLvBox: {
backgroundColor: "#e891ab",
paddingHorizontal: 3, paddingHorizontal: 3,
height: "100%", height: "100%",
justifyContent: "center", justifyContent: "center",