收口个人中心任务条目组件
迁移任务中心任务条目到 PlatformSubpanel 保留任务领取流程和奖励状态展示 补充任务条目公共子面板断言并更新文档和 Hermes
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user