收口个人中心昵称编辑图标按钮
RpgEntryHomeView 的昵称编辑入口改用 PlatformIconButton 并保留局部紧凑样式 补充昵称编辑入口复用共享按钮 class 的测试断言 同步 PlatformUiKit 收口计划与 .hermes 决策记录
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user