收口个人中心任务条目组件

迁移任务中心任务条目到 PlatformSubpanel

保留任务领取流程和奖励状态展示

补充任务条目公共子面板断言并更新文档和 Hermes
This commit is contained in:
2026-06-10 12:24:04 +08:00
parent 66f31db968
commit 2a9514a975
4 changed files with 15 additions and 4 deletions

View File

@@ -3553,9 +3553,11 @@ function ProfileTaskCenterModal({
const progressLabel = buildProfileTaskProgressLabel(task);
return (
<div
<PlatformSubpanel
as="div"
key={task.taskId}
className="platform-subpanel rounded-2xl px-4 py-4"
radius="sm"
padding="md"
>
<div className="flex min-w-0 items-start justify-between gap-3">
<div className="min-w-0">
@@ -3585,7 +3587,7 @@ function ProfileTaskCenterModal({
>
{getProfileTaskClaimButtonLabel(task, isClaiming)}
</PlatformActionButton>
</div>
</PlatformSubpanel>
);
})}
</div>