调整比赛卡片得分部分的边框颜色和宽度

This commit is contained in:
yuchenglong
2026-01-23 10:22:03 +08:00
parent 89d3a49a5b
commit 0ec996408f

View File

@@ -97,7 +97,9 @@ export function MatchCard({
const iconColor = isDark ? Colors.dark.icon : Colors.light.icon;
const cardBg = isDark ? "#1C1C1E" : "#FFFFFF";
const borderColor = isDark ? "#2C2C2E" : "rgba(0,0,0,0.06)";
const scoreBorder = isDark ? "rgba(255,255,255,0.18)" : "rgba(0,0,0,0.12)";
const scoreBorder = isDark
? "rgba(255,255,255,0.18)"
: "rgba(230, 230, 230, 0.28)";
const scoreBg = isDark ? "rgba(255,255,255,0.04)" : "rgba(255,255,255,0.6)";
const oddBadgeBg = isDark ? "rgba(255,255,255,0.06)" : "rgba(0,0,0,0.03)";
@@ -523,7 +525,7 @@ export function MatchCard({
{
borderColor:
scoreParts.homeLead || scoreParts.awayLead
? "#e6e6e648"
? "rgba(230, 230, 230, 0.28)"
: scoreBorder,
backgroundColor: scoreBg,
},
@@ -723,7 +725,7 @@ const styles = StyleSheet.create({
width: 28,
height: 55,
borderRadius: 8,
borderWidth: 1.2,
borderWidth: 0.3,
alignItems: "stretch",
justifyContent: "center",
overflow: "hidden",