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

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