From d1dc839e70c5fe41377de971d2fc4b4b42938c14 Mon Sep 17 00:00:00 2001 From: kron Date: Fri, 6 Jun 2025 00:34:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E4=BD=8D=E6=88=BF=E9=97=B4=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis.js | 6 +++++ src/components/BattleFooter.vue | 31 +++++++++--------------- src/components/Container.vue | 5 ++-- src/components/PlayersRow.vue | 1 + src/pages/battle-result.vue | 9 +++++-- src/pages/match-room.vue | 43 +++++++++++++++------------------ 6 files changed, 48 insertions(+), 47 deletions(-) diff --git a/src/apis.js b/src/apis.js index 5a6385b..7958e00 100644 --- a/src/apis.js +++ b/src/apis.js @@ -119,3 +119,9 @@ export const readyGameAPI = (battleId) => { battleId, }); }; + +export const getGameAPI = (battleId) => { + return request("POST", "/user/battle/detail", { + id: battleId, + }); +}; diff --git a/src/components/BattleFooter.vue b/src/components/BattleFooter.vue index 74b6fbc..0653b47 100644 --- a/src/components/BattleFooter.vue +++ b/src/components/BattleFooter.vue @@ -1,21 +1,10 @@ @@ -92,6 +84,7 @@ setTimeout(() => { font-size: 14px; } .players > view > view > view:last-child { + font-size: 14px; padding-right: 20px; } .players > view > view > view:last-child > text:first-child { diff --git a/src/components/Container.vue b/src/components/Container.vue index 7426f3a..ba7b84a 100644 --- a/src/components/Container.vue +++ b/src/components/Container.vue @@ -25,9 +25,10 @@ defineProps({