修复比赛结果显示逻辑并调整分数字体大小

This commit is contained in:
yuchenglong
2026-01-13 11:55:35 +08:00
parent e01caf26a6
commit 74868f0288

View File

@@ -67,7 +67,7 @@ export function ScoreHeader({ data, isDark, topInset }: ScoreHeaderProps) {
<View style={styles.centerScore}> <View style={styles.centerScore}>
<View style={styles.scoreBox}> <View style={styles.scoreBox}>
<ThemedText style={styles.scoreValue}> <ThemedText style={styles.scoreValue}>
{match.eventFinalResult && match.eventFinalResult !== "" {match.eventFinalResult && match.eventFinalResult !== "-"
? match.eventFinalResult ? match.eventFinalResult
: "0 - 0"} : "0 - 0"}
</ThemedText> </ThemedText>
@@ -181,7 +181,7 @@ const styles = StyleSheet.create({
}, },
scoreValue: { scoreValue: {
color: "#000", color: "#000",
fontSize: 32, fontSize: 19,
fontWeight: "bold", fontWeight: "bold",
letterSpacing: 2, letterSpacing: 2,
}, },