From 530e1c6d72324db9bf46b92f8e0063cd587c8452 Mon Sep 17 00:00:00 2001 From: kicer Date: Tue, 1 Sep 2026 22:10:08 +0800 Subject: [PATCH] =?UTF-8?q?2.0=E9=98=B6=E6=AE=B55=E8=B0=83=E6=95=B4:=20?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=A1=B5=E7=B2=BE=E7=AE=80(=E5=8E=BB?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E6=B1=A0/=E8=B4=A6=E5=8F=B7/=E9=80=9A?= =?UTF-8?q?=E7=94=A8/MCP/=E6=8A=80=E8=83=BD=E7=9B=AE=E5=BD=95=E7=BC=96?= =?UTF-8?q?=E8=BE=91),=E9=85=8D=E7=BD=AE=E9=A1=B9=E6=94=B9=E5=86=85?= =?UTF-8?q?=E8=81=94input+=E5=BA=95=E9=83=A8=E7=BB=9F=E4=B8=80=E4=BF=9D?= =?UTF-8?q?=E5=AD=98,=E5=8E=9F=E6=96=87=E7=BC=96=E8=BE=91=E7=A7=BB?= =?UTF-8?q?=E8=87=B3=E9=A1=B6=E6=A0=8F=E5=9B=BE=E6=A0=87,=E6=8E=AA?= =?UTF-8?q?=E8=BE=9E=E5=9B=9E=E5=90=88=E2=86=92=E4=BC=9A=E8=AF=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/server/public/css/style.css | 9 ++ app/server/public/index.html | 15 ++- app/server/public/js/settings.js | 211 ++++++++++--------------------- app/server/routes/system.js | 2 +- 4 files changed, 84 insertions(+), 153 deletions(-) diff --git a/app/server/public/css/style.css b/app/server/public/css/style.css index cae9b99..265e94e 100644 --- a/app/server/public/css/style.css +++ b/app/server/public/css/style.css @@ -383,6 +383,15 @@ body { font-variant-numeric: tabular-nums; } .cfg-note { font-size: 11.5px; color: #99a; line-height: 1.5; margin-top: 6px; } +/* 表单内联数值输入:平时像文本,聚焦时才显输入框 */ +.cfg-input { + flex: 1; min-width: 0; text-align: right; font-size: 13px; color: #223; + background: #f4f5f9; border: 1px solid transparent; border-radius: 8px; + padding: 6px 10px; outline: none; font-variant-numeric: tabular-nums; font-family: inherit; + -webkit-appearance: none; appearance: none; +} +.cfg-input:focus { border-color: #2a5299; background: #fff; } +.cfg-input::-webkit-outer-spin-button, .cfg-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } /* 原文编辑器保存前的校验错误条 */ .cfg-err { margin: 8px 12px 0; padding: 8px 12px; border-radius: 8px; diff --git a/app/server/public/index.html b/app/server/public/index.html index c2e261b..fd3d940 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -92,6 +92,11 @@