瞬息萬(wàn)變的足球盛宴!球探app為你奉上荷甲實(shí)時(shí)比分直播
- 發(fā)布于:2024-10-15 10:55:42
- 來(lái)源:24直播網(wǎng)
直播信號(hào)源:
瞬息萬(wàn)變的足球盛宴!球探app為你奉上荷甲實(shí)時(shí)比分直播
- 阿賈克斯 vs 費(fèi)耶諾德
- PSV埃因霍溫 vs 海倫芬
- 烏德勒支 vs 格羅寧根
- 威廉二世 vs 鹿特丹斯巴達(dá)
- 福圖納錫塔德 vs 茲沃勒
比賽信息
- 時(shí)間:
- 地點(diǎn):
- 裁判:
比分
const scoreboard = document.getElementById('scoreboard');const team1Name = document.getElementById('team-1-name');const team1Score = document.getElementById('team-1-score');const team2Name = document.getElementById('team-2-name');const team2Score = document.getElementById('team-2-score');const matchEvents = document.getElementById('match-events');const matchGoals = document.getElementById('match-goals');const matchAssists = document.getElementById('match-assists');const matchYellowCards = document.getElementById('match-yellow-cards');const matchRedCards = document.getElementById('match-red-cards');let currentMatchId = 1;const socket = new WebSocket('ws://localhost:8080');socket.onopen = () => {console.log('WebSocket connection established');socket.send(JSON.stringify({ type: 'subscribe', matchId: currentMatchId }));};socket.onmessage = (event) => {const data = JSON.parse(event.data);if (data.type === 'match-update') {updateMatchDetails(data.match);}};const updateMatchDetails = (match) => {matchDetails.classList.remove('visually-hidden');matchTime.innerText = match.time;matchLocation.innerText = match.location;matchReferee.innerText = match.referee;team1Name.innerText = match.teams[0].name;team1Score.innerText = match.teams[0].score;team2Name.innerText =match.teams[1].name;team2Score.innerText = match.teams[1].score;matchGoals.innerText = match.events.filter((event) => event.type === 'goal').map((event) => event.player).join(', ');matchAssists.innerText = match.events.filter((event) => event.type === 'assist').map((event) => event.player).join(', ');matchYellowCards.innerText = match.events.filter((event) => event.type === 'yellow-card').map((event) => event.player).join(', ');matchRedCards.innerText = match.events.filter((event) => event.type === 'red-card').map((event) => event.player).join(', '); };const setActiveMatch = (matchId) => {const matchItem = matches.querySelector(`[data-match-id="${matchId}"]`);const activeMatch = matches.querySelector('.active');if (matchItem && activeMatch) {activeMatch.classList.remove('active');matchItem.classList.add('active');currentMatchId = matchId;socket.send(JSON.stringify({ type: 'subscribe', matchId: currentMatchId }));}};matches.addEventListener('click', (event) => {const matchId = event.target.getAttribute('data-match-id');if (matchId) {setActiveMatch(matchId);}});球隊(duì) | 比分 |
---|
相關(guān)資訊
- | 維尼修斯:如果C羅說(shuō)我是最佳,那我就是最佳
- | 意媒:都靈對(duì)里奇要價(jià)約3500萬(wàn)歐,曼城、紅軍、米蘭、國(guó)米有意
- | 電訊報(bào):曼聯(lián)在關(guān)注比利時(shí)U21門(mén)將拉芒;尤文對(duì)拉師傅不感興趣
- | 生涯已進(jìn)916球,官方:C羅獲2024年環(huán)足獎(jiǎng)歷史最佳射手獎(jiǎng)
- | 都體:國(guó)米愿以約2500萬(wàn)歐引進(jìn)尼科-帕斯,皇馬想保留回購(gòu)權(quán)
- | 官方:皮耶羅獲得2024年環(huán)球足球獎(jiǎng)職業(yè)生涯特別獎(jiǎng)
- | 隆戈:達(dá)尼洛首選加盟那不勒斯,也與尤文保持著最大的尊重
- | 凱塔:薩拉赫好勝心強(qiáng)且厭惡失??;愿科納特今后擺脫傷病困擾
- | 都體:拉什福德完美契合莫塔的要求,但后者想要的是齊爾克澤
- | C羅:金球獎(jiǎng)不公平,維尼修斯本該獲得,我當(dāng)所有人面這么說(shuō)
最新資訊
- | 完勝!火箭五虎101+35,墨菲21+3,惠特莫爾創(chuàng)紀(jì)錄,西部格局改變
- | CBA下賽季亂了!全運(yùn)會(huì)+世預(yù)賽扎堆11月,聯(lián)賽延12月,輪次要減少
- | 同曦勝吉林更衣室!給3將鼓掌,祝銘震林葳分獲金銀鏈子+現(xiàn)金獎(jiǎng)勵(lì)
- | 上海官宣傷病情況!劉錚+李弘權(quán)將缺席一周左右,劉禮嘉傷勢(shì)最重
- | 鎖死球權(quán)+防守!王嵐嵚賽后22字發(fā)聲展露霸氣,趙繼偉發(fā)文致敬!
- | 遼寧半場(chǎng)逆轉(zhuǎn)福建!雙外主導(dǎo),俞澤辰驚喜,王嵐嵚又被棄用!
- | 遼寧98-97擊敗廣州,來(lái)看賽后楊鳴與威爾斯說(shuō)了什么?雙向奔赴了
- | 繼打高爾夫后,阿聯(lián)與朋友現(xiàn)身美國(guó),情緒穩(wěn)定玩手機(jī)!
- | 久違露面!易建聯(lián)亮相美國(guó)洛杉磯某咖啡店 低頭玩手機(jī) 被網(wǎng)友偶遇
- | 25分擊潰遼籃苦主!CBA第一爭(zhēng)冠熱門(mén)隊(duì)殺紅眼:誰(shuí)能阻擋他們沖冠