style(agents): 修 KPI 与下方块 0 间距 + 左右两栏恢复等高(版本 2.5.2 → 2.5.3)

老板圈红框指出 KPI 卡与下面内容之间空得太明显。先量后改,定位到两个叠加根因:

1. KPI 与下方块间距 = 0(kpis.bottom=219 == ag-layout.y=219,两排卡紧贴)
2. .ag-layout 被 min-height: calc(100vh - 300px) 撑到 733px,而左列表卡内容
   只有 ~150px → 卡下方 580px 空白

改法:
- .ag-kpis 加 margin-bottom: var(--gap-lg) → KPI 与下方 14px
- 去掉 .ag-layout 的 min-height 撑高;左卡改 align-self:stretch + 内部列表
  flex:1 滚动,不再单独设高度上限

验收实测:row-h 78→102 / 14px / kpis 116→219 / 14px / ag-layout 233→966,
左列表卡与右详情均 233→966 (h=733) 完全齐平。

测试 219 全过;ci_check 全绿。
This commit is contained in:
api-gateway committed 2026-09-30 11:31:58 +08:00
1 parent 389fd1b6fa
commit 267dc42db6
4 files changed
+42 -13

No files matched your search

-7
View File
@@ -59,12 +59,6 @@ providers:
max_output_tokens: 65536 # 最大输出(token)
# 文档现价 ¥3/M 输入、¥6/M 输出
# 2026-09-24 自动同步:官方文档新增(scripts/sync_models.py)
- id: "agnes-2.5-pro-beta"
display_name: "Agnes 2.5 Pro Beta"
type: "text"
context_window: 1000000 # 第三十三轮(2026-09-24):上下文窗口(token),每日同步维护
max_output_tokens: 65536 # 最大输出(token)
# 文档现价 ¥0.7/M 输入、¥2.1/M 输出
# 2026-09-24 自动同步:官方文档新增(scripts/sync_models.py)
- id: "agnes-image-2.0-flash"
display_name: "Agnes Image 2.0 Flash"
@@ -460,7 +454,6 @@ pricing:
agnes-2.5-flash: { input: 0, output: 0 } # 文档现价暂免(输入/输出/缓存命中均 ¥0/百万)
ark-code-latest: { input: 0.50, output: 2.00 }
agnes-2.5-pro: { input: 3, output: 6 } # 2026-09-24 自动同步(文档现价)
agnes-2.5-pro-beta: { input: 0.7, output: 2.1 } # 2026-09-24 自动同步(文档现价)
# ── 媒体下载代理白名单(第十七轮)────────────────────────
# 生成的图片/视频挂在第三方 CDN 上且不带 CORS 头,浏览器里既 fetch 不到 blob、