From 163df0cf85aeaa7c96eb107a7c9ac9e06da4ad2a Mon Sep 17 00:00:00 2001 From: hajimi Date: Sun, 2 Aug 2026 02:50:40 +0800 Subject: [PATCH] feat: configure hot leagues in match center --- admin/src/views/match/league/index.vue | 34 +++++++++++-- docs/sql/alter_la_league_add_is_hot.sql | 17 +++++++ docs/sql/create_la_league.sql | 1 + sbnews.sql | 1 + .../app/adminapi/lists/match/LeagueLists.php | 2 + .../app/adminapi/logic/match/LeagueLogic.php | 25 +++++++--- .../validate/match/LeagueValidate.php | 4 +- server/app/api/controller/MatchController.php | 4 +- .../components/MatchCenterPanel.vue | 29 +---------- .../components/MatchCenterTabsPanel.vue | 49 ++++++++++++------- .../components/MatchShellPage.vue | 10 +--- 11 files changed, 109 insertions(+), 67 deletions(-) create mode 100644 docs/sql/alter_la_league_add_is_hot.sql diff --git a/admin/src/views/match/league/index.vue b/admin/src/views/match/league/index.vue index b12fdcb..badc12a 100644 --- a/admin/src/views/match/league/index.vue +++ b/admin/src/views/match/league/index.vue @@ -40,6 +40,14 @@ :inactive-value="0" @change="handleToggleShow(row)" /> + + +