From de1c2277270fc5f7330ab60e96ca25af0249d804 Mon Sep 17 00:00:00 2001 From: nanguaboss <602995148@qq.com> Date: Sun, 9 Aug 2026 22:04:00 +0800 Subject: [PATCH] =?UTF-8?q?v1.0.32:=20=E6=81=A2=E5=A4=8D=E7=BB=BC=E5=90=88?= =?UTF-8?q?=E6=A6=82=E8=A7=88=E9=A1=B6=E9=83=A8=E6=95=B0=E6=8D=AE=E5=8D=A1?= =?UTF-8?q?=E5=91=88=E7=8E=B0(stat-cards=E7=BD=91=E6=A0=BC=E8=BF=98?= =?UTF-8?q?=E5=8E=9F4=E5=88=97)=20-=20=E7=A2=8E=E7=89=87=E5=A4=84=E7=90=86?= =?UTF-8?q?=E4=B8=AD=E5=BF=83=E6=94=B9=E7=94=A8=E7=8B=AC=E7=AB=8Bstat-card?= =?UTF-8?q?s-5=E4=BF=AE=E9=A5=B0=E7=B1=BB=E4=BF=9D=E6=8C=815=E5=88=97,?= =?UTF-8?q?=E4=BB=85=E5=BD=B1=E5=93=8DCSS=E4=B8=8Efragment.js,=E4=B8=8D?= =?UTF-8?q?=E5=8A=A8=E5=85=B6=E4=BB=96=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/style.css | 6 +++++- static/js/config.js | 2 +- static/js/fragment.js | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 7d99be0..bc08d00 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -472,10 +472,14 @@ table.grid .ops a:hover { text-decoration: underline; } /* ---------- 指标卡 ---------- */ .stat-cards { display: grid; - grid-template-columns: repeat(5, 1fr); + grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; } +/* 碎片处理中心专用:5 张指标卡一行排布(不影响其它页面) */ +.stat-cards.stat-cards-5 { + grid-template-columns: repeat(5, 1fr); +} .stat-card { background: #fff; border-radius: 6px; diff --git a/static/js/config.js b/static/js/config.js index 06b93f9..f02cde6 100644 --- a/static/js/config.js +++ b/static/js/config.js @@ -5,7 +5,7 @@ var BASE_URL = '/api/'; var PAGE_SIZE = 20; /** 系统版本号(logo旁展示):修改代码后运行 tools/bump_version.php 自动递增 */ -var APP_VERSION = 'v1.0.31'; +var APP_VERSION = 'v1.0.32'; /** 页脚版权/备案信息(在 config.js 中修改) */ var FOOTER_TEXT = '© 2026 SuperLink 管理系统 版权所有 | 备案号:请替换为真实备案号'; diff --git a/static/js/fragment.js b/static/js/fragment.js index 46a5c9f..4ef28ef 100644 --- a/static/js/fragment.js +++ b/static/js/fragment.js @@ -38,7 +38,7 @@ $(function () { /** 渲染页面内容:指标卡 + 硬碎片 + 软碎片 两个独立区块 */ function renderPage() { $('#page-content').html( - '
' + + '' + // ================= 硬碎片 ================= '