diff --git a/components/match-card.tsx b/components/match-card.tsx
index 0b927b8..a7ce83a 100644
--- a/components/match-card.tsx
+++ b/components/match-card.tsx
@@ -275,7 +275,8 @@ export function MatchCard({
if (!oddsSettings.enabled || !bookmakerName) return null;
const item = odds.find((o) => o.odd_bookmakers === bookmakerName);
- const hasOdds = !!item;
+ // 如果没有找到该博彩公司的赔率数据,直接返回 null,不进行占位
+ if (!item) return null;
const val1 = item?.odd_1 || item?.ah0_1 || "-";
const val2 = item?.odd_x || "0" || "-";
@@ -283,45 +284,39 @@ export function MatchCard({
return (
- {hasOdds ? (
- <>
-
-
- {val1}
-
-
-
-
- {val2}
-
-
-
-
- {val3}
-
-
- >
- ) : (
-
- )}
+
+
+ {val1}
+
+
+
+
+ {val2}
+
+
+
+
+ {val3}
+
+
);
};
@@ -388,13 +383,15 @@ export function MatchCard({
- {match.homeTeamLogo && (
+
- )}
+
- {match.awayTeamLogo && (
+
- )}
+
-
- {scoreParts.hasScore ? (
+ {scoreParts.hasScore ? (
+
- ) : (
+
+ ) : (
+
- )}
-
+
+ )}
-
- {extraStats.home !== "" || extraStats.away !== "" ? (
+ {extraStats.home !== "" || extraStats.away !== "" ? (
+
{extraStats.home}
@@ -496,8 +497,10 @@ export function MatchCard({
{extraStats.away}
- ) : null}
-
+
+ ) : (
+
+ )}