diff --git a/.gitignore b/.gitignore index b2c7ecc..de97058 100644 --- a/.gitignore +++ b/.gitignore @@ -23,11 +23,22 @@ samples/* reference/ Diablo II*/ -# 临时调试产物 +# 临时调试产物与测试截图 .tmp/ scratch/ __pycache__/ .DS_Store +.agents/ +tests/*.png +*audit*.png +public/*audit*.png +public/ui/*audit*.png +BRIEFING.md +ORIGINAL_REQUEST.md +PROJECT.md +TEST_INFRA.md +TEST_READY.md # 覆盖率报告由 `npm run test:coverage` 生成,可随时重建 coverage/ + diff --git a/acts.html b/acts.html index 0a54457..c928151 100644 --- a/acts.html +++ b/acts.html @@ -18,16 +18,17 @@ h1 { font-size: 13px; margin: 0; color: #c8a15a; letter-spacing: .06em; } a { color: #c8a15a; } #hud { color: #9c8d78; } - #controls { left: 12px; bottom: 12px; padding: 8px 12px; display: flex; gap: 12px; - align-items: center; flex-wrap: wrap; max-width: calc(100vw - 24px); } + /* 状态与地图选择控件紧凑停靠在顶部,把屏幕底部完整让给暗黑2原版 800CtrlPnl7 控制栏与血蓝球 */ + #controls { top: 4px; right: 12px; padding: 3px 8px; display: flex; gap: 8px; + align-items: center; flex-wrap: wrap; max-width: 72vw; font-size: 12px; z-index: 4; } #controls label { color: #9c8d78; } select { background: #1c1813; color: #e8dcc8; border: 1px solid #33291f; - border-radius: 4px; padding: 3px 6px; font: inherit; max-width: 28vw; } + border-radius: 4px; padding: 2px 5px; font: inherit; max-width: 22vw; } optgroup { background: #1c1813; color: #c8a15a; } option { background: #1c1813; } - /* 状态面板放在控件行上方:贴在右下角会压住"细分场景"那个下拉框 */ - #status { right: 12px; bottom: 58px; padding: 6px 10px; max-width: 60vw; color: #9c8d78; } - #dialog { right: 12px; top: 36px; padding: 8px 12px; min-width: 240px; color: #e8dcc8; white-space: pre-wrap; font-size: 14px; background: rgba(30, 26, 21, .9); border-color: #c8a15a; } + #status { left: 12px; top: 34px; padding: 3px 8px; max-width: 55vw; color: #9c8d78; font-size: 11px; opacity: 0.85; pointer-events: none; z-index: 3; } + #dialog { right: 12px; top: 42px; padding: 8px 12px; min-width: 240px; color: #e8dcc8; white-space: pre-wrap; font-size: 14px; background: rgba(30, 26, 21, .9); border-color: #c8a15a; z-index: 5; } + #d2-hud-canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 6; pointer-events: none; image-rendering: pixelated; } .hint { color: #6d5a34; } @@ -46,12 +47,13 @@ - WASD / 方向键移动 · 滚轮或 +/− 缩放 · 三个下拉框都会换图并更新地址栏 + I背包 · A角色 · T技能 · Q任务 · V小站 · ~腰带 · R奔跑 · W换手
- + +