From ab5a0efe50a471c4d58a362fa1c6f4d0b9421cd0 Mon Sep 17 00:00:00 2001 From: kdletters Date: Thu, 11 Jun 2026 02:33:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=94=B6=E5=8F=A3=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=80=81=E6=B5=AE=E5=B1=82=E6=9A=97=E8=89=B2=E5=8A=A8?= =?UTF-8?q?=E4=BD=9C=E4=B8=8E=E8=A1=8C=E5=8D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一运行态浮层里的标准暗色动作按钮到共享 PlatformActionButton 统一设置面板里的运行统计入口到共享 PlatformSubpanel 按钮壳 补充 PlatformUiKit 收口计划、共享决策记录与 quest offer 组件测试护栏 --- .hermes/shared-memory/decision-log.md | 1 + ...】PlatformUiKit弹窗组件收口计划-2026-06-08.md | 1 + .../RpgAdventurePanel.questOffer.test.tsx | 17 ++++- .../RpgAdventurePanelOverlays.tsx | 67 +++++++++---------- 4 files changed, 49 insertions(+), 37 deletions(-) diff --git a/.hermes/shared-memory/decision-log.md b/.hermes/shared-memory/decision-log.md index 332972ed..87c8347e 100644 --- a/.hermes/shared-memory/decision-log.md +++ b/.hermes/shared-memory/decision-log.md @@ -2080,6 +2080,7 @@ - 决策:白底 / 暗色面板里的轻量空态和普通 CTA 继续向共享组件收口。`PuzzleResultView.tsx` 的缺草稿提示、`RpgCreationAssetDebugPanel.tsx` 的空诊断提示、`VisualNovelEntityGrid` 的空实体列表、`AccountModal.tsx` 里账号安全分区的“无安全限制 / 无登录设备 / 无操作记录”以及 `LoginScreen.tsx` 的“当前登录入口暂不可用”都改为 `PlatformEmptyState`,`Match3DResultView.tsx` 的引用素材列表直接复用 `PlatformAssetPickerGrid` 自己的空态;`AdventureEntityModal.tsx` 的私聊按钮、`InventoryPanel.tsx` 的锻造 / 合成按钮、`RpgCreationRoleAssetStudioModalImpl.tsx`、`RpgCreationEntityEditorShared.tsx` 里的局部 `ActionButton` 包装层,以及 `RpgAdventurePanel.tsx` / `RpgAdventurePanelOverlays.tsx` 里标准 runtime CTA 都改为委托 `PlatformActionButton surface="editorDark"`。后续白底子面板里的只读空态优先使用 `PlatformEmptyState surface="subpanel"`;暗色编辑 / 运行面板里的普通动作优先使用 `PlatformActionButton surface="editorDark"`,若业务仍需 `stopPropagation`、tone 映射、运行态 icon 排版或局部字号,可保留薄包装层,但不要再直接写原生 ` + @@ -1126,10 +1125,14 @@ export function RpgAdventurePanelOverlays({ - + - + )} {isQuestReadyToClaim(selectedQuest) && !isPendingSelectedQuest && (
- +
)} @@ -1548,8 +1547,11 @@ export function RpgAdventurePanelOverlays({ : '可前往任务日志领取奖励。'}
- +