收口个人中心昵称编辑图标按钮

RpgEntryHomeView 的昵称编辑入口改用 PlatformIconButton 并保留局部紧凑样式
补充昵称编辑入口复用共享按钮 class 的测试断言
同步 PlatformUiKit 收口计划与 .hermes 决策记录
This commit is contained in:
2026-06-10 17:59:40 +08:00
parent 2af0916c04
commit 1841eac0e1
4 changed files with 11 additions and 7 deletions

View File

@@ -6710,14 +6710,12 @@ export function RpgEntryHomeView({
<div className="platform-profile-header__name truncate text-[18px] font-black leading-tight text-[var(--platform-text-strong)]">
{authUi.user.displayName}
</div>
<button
type="button"
<PlatformIconButton
label="修改昵称"
icon={<Pencil className="h-3.5 w-3.5" />}
onClick={openNicknameModal}
className="platform-profile-edit-button"
aria-label="修改昵称"
>
<Pencil className="h-3.5 w-3.5" />
</button>
/>
</div>
<div className="platform-profile-header__code mt-2 flex flex-wrap items-center gap-2 text-[12px] text-[var(--platform-text-base)]">
<span> {publicUserCode}</span>