From ad7f5d0e1a3b3c96c0b0ff569c8b5be58cb28c34 Mon Sep 17 00:00:00 2001 From: voson Date: Wed, 29 Jul 2026 18:44:49 +0800 Subject: [PATCH] v0.5.86: place matches summary below the pager. Co-authored-by: Cursor --- CHANGELOG.md | 6 ++++++ web/export_relations_site.py | 2 +- web/frontend/app.js | 6 +++--- web/frontend/config.js | 2 +- web/frontend/index.html | 10 +++++----- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6f3611..7f810ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ ## [Unreleased] +## [0.5.86] - 2026-07-29 + +### Changed + +- 「比赛」场次摘要移到分页按钮下方。 + ## [0.5.85] - 2026-07-29 ### Changed diff --git a/web/export_relations_site.py b/web/export_relations_site.py index 5c88785..cff0f62 100644 --- a/web/export_relations_site.py +++ b/web/export_relations_site.py @@ -51,7 +51,7 @@ from shared.paths import ( from serve_relations import WEB_DIR, build_payload -SITE_VERSION = "0.5.85" +SITE_VERSION = "0.5.86" DEFAULT_OSS_BASE = "https://climperor.oss-cn-shanghai.aliyuncs.com" diff --git a/web/frontend/app.js b/web/frontend/app.js index 691a416..fa00928 100644 --- a/web/frontend/app.js +++ b/web/frontend/app.js @@ -3864,15 +3864,15 @@ function renderMatchesPage() { function buildMatchesFoot(summaryText, page, pageCount, onGo) { const foot = document.createElement("div"); foot.className = "matches-foot"; + if (pageCount > 1) { + foot.appendChild(buildMatchesPager(page, pageCount, onGo)); + } if (summaryText) { const summary = document.createElement("p"); summary.className = "matches-foot-summary"; summary.textContent = summaryText; foot.appendChild(summary); } - if (pageCount > 1) { - foot.appendChild(buildMatchesPager(page, pageCount, onGo)); - } return foot; } diff --git a/web/frontend/config.js b/web/frontend/config.js index 0e72fa2..ac420e5 100644 --- a/web/frontend/config.js +++ b/web/frontend/config.js @@ -1,4 +1,4 @@ /* Local defaults; production export overwrites via export_relations_site.py. */ -var SITE_VERSION = "0.5.85"; +var SITE_VERSION = "0.5.86"; var ABILITY_VIDEO_BASE = ""; var STATIC_ASSET_BASE = ""; diff --git a/web/frontend/index.html b/web/frontend/index.html index 191c5c6..c9e8402 100644 --- a/web/frontend/index.html +++ b/web/frontend/index.html @@ -5,8 +5,8 @@ DOTA2 上分帝 - - + +