From 193e4f0e96d33e6ad1b281c42f058bb434d62bec Mon Sep 17 00:00:00 2001 From: kdletters Date: Thu, 11 Jun 2026 05:06:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=94=B6=E5=8F=A3=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=AF=BC=E8=88=AA=E8=A1=8C=E4=B8=8E=E6=9A=97=E8=89=B2?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=BA=95=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将首页排行行与分类行切换为 PlatformNavigableListItem 将 NPC 交易详情与地图切场确认底栏收口到 PlatformDarkModalFooter 补充首页与弹窗回归测试并更新 PlatformUiKit 收口计划与共享决策记录 --- .hermes/shared-memory/decision-log.md | 2 + ...】PlatformUiKit弹窗组件收口计划-2026-06-08.md | 2 + src/components/MapModal.test.tsx | 3 + src/components/MapModal.tsx | 39 ++++--- src/components/NpcModals.test.tsx | 4 + src/components/NpcModals.tsx | 24 ++-- .../RpgEntryHomeView.recharge.test.tsx | 10 +- src/components/rpg-entry/RpgEntryHomeView.tsx | 110 +++++++++--------- 8 files changed, 111 insertions(+), 83 deletions(-) diff --git a/.hermes/shared-memory/decision-log.md b/.hermes/shared-memory/decision-log.md index bd0741a5..649d08de 100644 --- a/.hermes/shared-memory/decision-log.md +++ b/.hermes/shared-memory/decision-log.md @@ -57,8 +57,10 @@ - 2026-06-11 追加:暗色 / 像素 modal 的标准 footer 布局统一抽到 `src/components/common/PlatformDarkModalFooter.tsx`;该组件只负责 dark footer 的分隔线、padding 和常见动作区排布,不持有“取消 / 确认”业务语义。`NpcModals.tsx` 的交易 / 赠礼 / 招募 footer、`SelectionCustomizationModals.tsx` 的 `SelectionModal` footer、`RpgAdventurePanelOverlays.tsx` 的 goal panel footer,以及 `InventoryItemViews.tsx` 的详情 footer wrapper 已接入;sticky 工作台 footer、正文内单 CTA 收尾和 runtime HUD 工具条暂不并入这一抽象。 - 2026-06-11 追加:桌面首页里的轻量可点击扁平行开始统一收口到 `src/components/common/PlatformNavigableListItem.tsx`;目前已覆盖 `RpgEntryHomeView.tsx` 的搜索结果行、桌面“最近作品”、桌面“最近浏览”以及桌面“今日游戏”趋势行。组件只承接 `button + left content + right affordance` 结构、默认 `type="button"` 与 `leading / trailing` 插槽,暂不扩成覆盖教培 promo card、分类卡片、世界卡或 runtime 列表项的万能 row primitive。 - 2026-06-11 追加:`PlatformNavigableListItem` 继续扩展到 profile 设置行;`src/components/platform-entry/PlatformProfilePrimitives.tsx` 的 `ProfileSettingsRow` 已改成委托共享 `button + leading + trailing` 骨架,继续保留本地 `platform-profile-settings-row` class 承接分隔线、icon 胶囊和字号微调。后续 profile / 账户中心里的同类轻量导航行优先直接复用共享行骨架,不再回退成原生 ` + ); } @@ -2071,49 +2078,46 @@ function PlatformCategoryGameItem({ entry.summaryText || entry.subtitle || `${displayName} 正在等待摘要。`; return ( - +
{summaryText}
+ ); }