156 lines
10 KiB
HTML
156 lines
10 KiB
HTML
<h2>报告管理列表</h2>
|
||
<p class="subtitle">类型列用颜色区分月报/周报。批量操作按钮仅在选中后出现。</p>
|
||
|
||
<div class="mockup">
|
||
<div class="mockup-header">报告管理页面</div>
|
||
<div class="mockup-body">
|
||
|
||
<!-- Header -->
|
||
<div style="display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #e2e8f0;margin-bottom:16px">
|
||
<div>
|
||
<h2 style="font-size:20px;font-weight:700;color:#0f172a;margin:0">报告管理</h2>
|
||
<span style="font-size:12px;color:#94a3b8">数据预览与文档生成</span>
|
||
</div>
|
||
<button class="mock-button">+ 新建报告</button>
|
||
</div>
|
||
|
||
<!-- Table -->
|
||
<table style="width:100%;font-size:13px;border-collapse:collapse">
|
||
<thead>
|
||
<tr style="border-bottom:2px solid #e2e8f0;text-align:left">
|
||
<th style="padding:10px 12px;color:#64748b;font-weight:500;width:40px">
|
||
<input type="checkbox" style="width:16px;height:16px;border-radius:4px;border:1px solid #cbd5e1">
|
||
</th>
|
||
<th style="padding:10px 12px;color:#64748b;font-weight:500">报告名称</th>
|
||
<th style="padding:10px 12px;color:#64748b;font-weight:500">类型</th>
|
||
<th style="padding:10px 12px;color:#64748b;font-weight:500">时间段</th>
|
||
<th style="padding:10px 12px;color:#64748b;font-weight:500">状态</th>
|
||
<th style="padding:10px 12px;color:#64748b;font-weight:500">创建时间</th>
|
||
<th style="padding:10px 12px;color:#64748b;font-weight:500">操作</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
<!-- Row 1: preview -->
|
||
<tr style="border-bottom:1px solid #f1f5f9">
|
||
<td style="padding:10px 12px"><input type="checkbox" style="width:16px;height:16px;border-radius:4px;border:1px solid #cbd5e1"></td>
|
||
<td style="padding:10px 12px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">
|
||
<a href="#" style="color:#2563eb;font-weight:500;text-decoration:none;cursor:pointer" onclick="event.preventDefault()">2026年4月图灵IT基础设施运营月报</a>
|
||
</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="display:inline-block;padding:3px 10px;border-radius:8px;font-size:11px;font-weight:600;background:#dbeafe;color:#1e40af">月报</span>
|
||
</td>
|
||
<td style="padding:10px 12px;color:#64748b">2026-04-01 ~ 2026-04-30</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;background:#fef3c7;color:#92400e">
|
||
<span style="width:6px;height:6px;border-radius:50%;background:#f59e0b"></span>
|
||
数据已就绪
|
||
</span>
|
||
</td>
|
||
<td style="padding:10px 12px;color:#94a3b8;font-size:12px">2026-05-07 14:30</td>
|
||
<td style="padding:10px 12px">
|
||
<div style="display:flex;gap:4px">
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;background:#eff6ff;color:#2563eb">预览</span>
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;background:#f0fdf4;color:#059669">生成文档</span>
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;color:#dc2626">🗑</span>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<!-- Row 2: generating -->
|
||
<tr style="border-bottom:1px solid #f1f5f9">
|
||
<td style="padding:10px 12px"><input type="checkbox" style="width:16px;height:16px;border-radius:4px;border:1px solid #cbd5e1"></td>
|
||
<td style="padding:10px 12px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">
|
||
<a href="#" style="color:#2563eb;font-weight:500;text-decoration:none;cursor:pointer" onclick="event.preventDefault()">图灵IT基础设施运营周报(4月28日-5月4日)</a>
|
||
</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="display:inline-block;padding:3px 10px;border-radius:8px;font-size:11px;font-weight:600;background:#ede9fe;color:#6b21a8">周报</span>
|
||
</td>
|
||
<td style="padding:10px 12px;color:#64748b">2026-04-28 ~ 2026-05-04</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;background:#dbeafe;color:#1e40af">
|
||
<span style="display:inline-block;width:10px;height:10px;border:2px solid #3b82f6;border-top-color:transparent;border-radius:50%"></span>
|
||
文档生成中
|
||
</span>
|
||
</td>
|
||
<td style="padding:10px 12px;color:#94a3b8;font-size:12px">2026-05-07 14:35</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;background:#eff6ff;color:#2563eb">预览</span>
|
||
</td>
|
||
</tr>
|
||
<!-- Row 3: completed -->
|
||
<tr style="border-bottom:1px solid #f1f5f9">
|
||
<td style="padding:10px 12px"><input type="checkbox" style="width:16px;height:16px;border-radius:4px;border:1px solid #cbd5e1"></td>
|
||
<td style="padding:10px 12px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">
|
||
<a href="#" style="color:#2563eb;font-weight:500;text-decoration:none;cursor:pointer" onclick="event.preventDefault()">2026年3月图灵IT基础设施运营月报</a>
|
||
</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="display:inline-block;padding:3px 10px;border-radius:8px;font-size:11px;font-weight:600;background:#dbeafe;color:#1e40af">月报</span>
|
||
</td>
|
||
<td style="padding:10px 12px;color:#64748b">2026-03-01 ~ 2026-03-31</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;background:#dcfce7;color:#15803d">
|
||
<span style="width:6px;height:6px;border-radius:50%;background:#22c55e"></span>
|
||
已完成
|
||
</span>
|
||
</td>
|
||
<td style="padding:10px 12px;color:#94a3b8;font-size:12px">2026-05-06 10:15</td>
|
||
<td style="padding:10px 12px">
|
||
<div style="display:flex;gap:4px">
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;background:#eff6ff;color:#2563eb">预览</span>
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;background:#f0fdf4;color:#059669">⬇ 下载</span>
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;color:#dc2626">🗑</span>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
<!-- Row 4: failed -->
|
||
<tr style="border-bottom:1px solid #f1f5f9">
|
||
<td style="padding:10px 12px"><input type="checkbox" style="width:16px;height:16px;border-radius:4px;border:1px solid #cbd5e1"></td>
|
||
<td style="padding:10px 12px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap">
|
||
<a href="#" style="color:#2563eb;font-weight:500;text-decoration:none;cursor:pointer" onclick="event.preventDefault()">图灵IT基础设施运营周报(4月21日-4月27日)</a>
|
||
</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="display:inline-block;padding:3px 10px;border-radius:8px;font-size:11px;font-weight:600;background:#ede9fe;color:#6b21a8">周报</span>
|
||
</td>
|
||
<td style="padding:10px 12px;color:#64748b">2026-04-21 ~ 2026-04-27</td>
|
||
<td style="padding:10px 12px">
|
||
<span style="display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:10px;font-size:11px;font-weight:500;background:#fef2f2;color:#b91c1c">
|
||
<span style="width:6px;height:6px;border-radius:50%;background:#ef4444"></span>
|
||
生成失败
|
||
</span>
|
||
</td>
|
||
<td style="padding:10px 12px;color:#94a3b8;font-size:12px">2026-05-06 11:00</td>
|
||
<td style="padding:10px 12px">
|
||
<div style="display:flex;gap:4px">
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;background:#eff6ff;color:#2563eb">预览</span>
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;background:#fef3c7;color:#92400e">重试</span>
|
||
<span style="cursor:pointer;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:500;color:#dc2626">🗑</span>
|
||
</div>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
|
||
</div>
|
||
</div>
|
||
|
||
<div style="display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px">
|
||
<div style="background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:14px">
|
||
<h4 style="margin:0 0 6px;font-size:14px;color:#15803d">✓ 类型颜色区分</h4>
|
||
<div style="display:flex;gap:12px;align-items:center;font-size:13px">
|
||
<span style="display:inline-block;padding:3px 10px;border-radius:8px;font-size:11px;font-weight:600;background:#dbeafe;color:#1e40af">月报</span>
|
||
<span style="font-size:12px;color:#64748b">蓝色背景,与报告预览章节编号色呼应</span>
|
||
</div>
|
||
<div style="display:flex;gap:12px;align-items:center;font-size:13px;margin-top:8px">
|
||
<span style="display:inline-block;padding:3px 10px;border-radius:8px;font-size:11px;font-weight:600;background:#ede9fe;color:#6b21a8">周报</span>
|
||
<span style="font-size:12px;color:#64748b">紫色背景,与月报明显区分</span>
|
||
</div>
|
||
</div>
|
||
<div style="background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:14px">
|
||
<h4 style="margin:0 0 6px;font-size:14px;color:#15803d">✓ 批量操作栏</h4>
|
||
<ul style="margin:0;padding-left:18px;font-size:13px;color:#166534;line-height:1.8">
|
||
<li>未选中任何行时不显示批量操作栏</li>
|
||
<li>选中 ≥1 行后,在表格下方出现「📦 批量下载」「🗑 批量删除」</li>
|
||
<li>与现有实现完全一致,无需改动</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|