feat: 采集失败KOC补交截图闭环 + 任务中心分发详情弹窗

公开数据补交闭环(F1):
- distributions 新增 public_metrics_screenshot_key(mysql/0022 迁移)
- KOC 门户:链接已回填但采集失败时展示补交数据截图入口(kind=public-metrics)
- 运营端:回收队列"核对补录"支持公开互动数据(赞/藏/评),按补交截图补录后采集状态置成功
- 企微催办:采集失败纳入待办(公开数据待补交)
- task-result-image 支持 kind=publish 输出发布截图

门户文案(F2):
- 自动采集数据明确"由系统每天自动采集,无需你填写",仅识别失败时才手动填写曝光/阅读

任务中心分发详情:
- 任务中心/数据回收的分发表行可点击,弹窗查看详情
- 详情按任务类型适配:发布阶段/数据回收(自动采集)/创作者数据(第7天)/截图回收四区块三段式布局
This commit is contained in:
ABAPPLO
2026-10-09 17:02:46 +08:00
parent c686003cfb
commit c11afd5f99
15 changed files with 1250 additions and 67 deletions

View File

@@ -1295,6 +1295,208 @@ a {
background: #fbfcfa;
}
/* 行可点击查看分发详情 */
.data-table tbody tr.clickable {
cursor: pointer;
}
.data-table tbody tr.clickable:hover td {
background: #f4f5fb;
}
/* 分发详情弹窗:结构化布局(头部 / 滚动内容 / 底部操作条) */
.distribution-detail-modal {
width: min(660px, 100%);
max-height: calc(100vh - 48px);
display: flex;
flex-direction: column;
padding: 20px 0 0;
}
.distribution-detail-header {
padding: 0 22px 14px;
border-bottom: 1px solid var(--line);
}
.detail-badges {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin-top: 7px;
}
.detail-meta {
display: flex;
align-items: center;
gap: 6px 14px;
flex-wrap: wrap;
margin-top: 10px;
padding: 9px 13px;
border-radius: 10px;
background: #f5f7f5;
border: 1px solid var(--line);
color: var(--ink-soft);
font-size: 12px;
}
.detail-body {
flex: 1;
overflow-y: auto;
padding: 14px 22px 8px;
}
.detail-section {
border: 1px solid var(--line);
border-radius: 12px;
background: var(--panel);
overflow: hidden;
}
.detail-section + .detail-section {
margin-top: 11px;
}
.detail-section-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
padding: 8px 13px;
background: #f3f6f3;
border-bottom: 1px solid var(--line);
}
.detail-section-head b {
font-size: 12.5px;
font-weight: 680;
color: var(--ink-soft);
}
.detail-section-body {
padding: 12px 13px;
}
.detail-kv-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px 18px;
}
.detail-kv {
display: flex;
flex-direction: column;
gap: 1px;
min-width: 0;
}
.detail-kv > span {
font-size: 11px;
color: var(--muted);
}
.detail-kv > strong,
.detail-kv > a,
.detail-kv > code {
font-size: 12.5px;
font-weight: 620;
overflow-wrap: anywhere;
}
.detail-metric-row {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
gap: 8px;
}
.detail-metric {
padding: 8px 11px;
border-radius: 9px;
background: #f5f7f5;
border: 1px solid var(--line);
}
.detail-metric span {
display: block;
font-size: 10.5px;
color: var(--muted);
}
.detail-metric strong {
font-size: 15px;
font-weight: 720;
font-variant-numeric: tabular-nums;
}
.detail-evidence {
display: flex;
align-items: center;
gap: 10px;
margin-top: 11px;
flex-wrap: wrap;
}
.detail-evidence-label {
font-size: 11.5px;
color: var(--muted);
flex: none;
}
.detail-shot {
display: flex;
flex-direction: column;
gap: 4px;
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
width: 128px;
flex: none;
}
.detail-shot img {
width: 128px;
height: 88px;
object-fit: cover;
border-radius: 9px;
border: 1px solid var(--line);
display: block;
}
.detail-shot:hover img {
border-color: #9fc3b4;
}
.detail-shot span {
font-size: 11px;
color: var(--muted);
text-align: center;
}
.detail-evidence-label.warn {
color: var(--orange);
font-weight: 640;
}
.detail-metric {
padding: 8px 11px;
border-radius: 9px;
background: #f5f7f5;
border: 1px solid var(--line);
}
.detail-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 9px;
flex-wrap: wrap;
padding: 12px 22px;
border-top: 1px solid var(--line);
background: #fafbfa;
border-radius: 0 0 17px 17px;
}
.content-cell,
.account-cell {
display: flex;