feat(agency): 达人管理添加任务进度展开提示
- 达人名称下方添加可点击的提示文字 - 未展开时显示"查看 N 个任务进度" - 展开后显示"收起任务进度" - 提示用户可以点击查看任务详情 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
ad45da5286
commit
9a0e2cac03
@ -354,7 +354,28 @@ export default function AgencyCreatorsPage() {
|
||||
<div className="w-10 h-10 rounded-full bg-gradient-to-br from-accent-indigo to-purple-500 flex items-center justify-center">
|
||||
<span className="text-white font-medium">{creator.avatar}</span>
|
||||
</div>
|
||||
<div className="font-medium text-text-primary">{creator.name}</div>
|
||||
<div>
|
||||
<div className="font-medium text-text-primary">{creator.name}</div>
|
||||
{hasActiveTasks && (
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => toggleExpand(creator.id)}
|
||||
className="text-xs text-accent-indigo hover:underline flex items-center gap-1 mt-0.5"
|
||||
>
|
||||
{isExpanded ? (
|
||||
<>
|
||||
<ChevronDown size={12} />
|
||||
收起任务进度
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<ChevronRight size={12} />
|
||||
查看 {creator.tasks.length} 个任务进度
|
||||
</>
|
||||
)}
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td className="px-6 py-4">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user