本页面提供实时足球赛事比分汇总。您可以轻松掌握每场比赛的胜负情况,及时了解足球赛事的最新动态。
比赛时间
|
球队 A
|
比分
|
球队 B
|
赛事
|
<script>
fetch('api/scores').then(res => res.json()).then(data => {data.forEach(match => {const row = document.createElement('tr');const timeCell = document.createElement('td');const teamACell = document.createElement('td');const scoreCell = document.createElement('td');const teamBCell = document.createElement('td');const leagueCell = document.createElement('td');timeCell.textContent = match.time;teamACell.textContent = match.teamA;scoreCell.textContent = match.score;teamBCell.textContent = match.teamB;leagueCell.textContent = match.league;if (match.highlight) {row.classList.add('highlight');}row.appendChild(timeCell);row.appendChild(teamACell);row.appendChild(scoreCell);row.appendChild(teamBCell);row.appendChild(leagueCell);document.querySelector('tbody').appendChild(row);});});
</script>