From d41e8e7f1c3337c9870ddd55f9fa555ce0ae3672 Mon Sep 17 00:00:00 2001 From: JiaJun <2394389886@qq.com> Date: Fri, 5 Jun 2026 16:10:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(game):=20=E4=BF=AE=E5=A4=8D=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E5=8A=A8=E7=89=A9=E7=BB=84=E4=BB=B6=E6=B8=B2?= =?UTF-8?q?=E6=9F=93=E5=92=8C=E5=A5=96=E5=8A=B1=E6=95=B0=E6=8D=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复了GitNexus索引统计信息中的符号、关系和执行流数量 - 为桌面端动物组件的投注开始警告添加了z-index类以确保正确显示层级 - 修复了游戏回合存储中奖励金额和类型的返回逻辑,避免显示旧奖励数据 - 调整了移动端金币揭示效果的内边距样式以改善视觉效果 - 重构了移动端动物网格组件,添加了容器引用并修复了揭示动画定位问题 - 清理了未使用的移动揭示帧偏移常量并优化了网格布局结构 - 更新了移动端控制组件中的内边距和间距以改善UI布局 - 在移动端头部组件中添加了新的图像资源和CSS工具函数 - 调整了移动端头部组件中的按钮大小、间距和对齐方式 - 优化了移动端工具栏按钮的样式类以实现更好的响应式设计 --- AGENTS.md | 2 +- CLAUDE.md | 2 +- .../components/desktop/desktop-animal.tsx | 2 +- .../game/components/mobile/mobile-animal.tsx | 403 +++++++++--------- .../game/components/mobile/mobile-control.tsx | 6 +- .../game/components/mobile/mobile-header.tsx | 49 ++- .../game/components/mobile/mobile-status.tsx | 50 ++- src/hooks/use-game-realtime-sync.ts | 24 +- src/store/game/game-round-store.ts | 4 +- src/style/index.css | 6 +- 10 files changed, 291 insertions(+), 257 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 5b29904..626e13c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,7 +1,7 @@ # GitNexus — Code Intelligence -This project is indexed by GitNexus as **36-character-flower** (2879 symbols, 5735 relationships, 245 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. +This project is indexed by GitNexus as **36-character-flower** (3072 symbols, 6072 relationships, 262 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first. diff --git a/CLAUDE.md b/CLAUDE.md index 5b29904..626e13c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,7 +1,7 @@ # GitNexus — Code Intelligence -This project is indexed by GitNexus as **36-character-flower** (2879 symbols, 5735 relationships, 245 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. +This project is indexed by GitNexus as **36-character-flower** (3072 symbols, 6072 relationships, 262 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely. > If any GitNexus tool warns the index is stale, run `npx gitnexus analyze` in terminal first. diff --git a/src/features/game/components/desktop/desktop-animal.tsx b/src/features/game/components/desktop/desktop-animal.tsx index bb3d635..36769e7 100644 --- a/src/features/game/components/desktop/desktop-animal.tsx +++ b/src/features/game/components/desktop/desktop-animal.tsx @@ -470,7 +470,7 @@ export function DesktopAnimal({ ) : null} - + {showStandbyState ? ( @@ -197,9 +206,9 @@ export function MobileHeader() { -
-
-
+
+
+
@@ -235,7 +244,7 @@ export function MobileHeader() {