diff --git a/static/app.js b/static/app.js index a3e3729..f729e25 100644 --- a/static/app.js +++ b/static/app.js @@ -240,7 +240,7 @@ function showTaskModal(projectId) { ${phases.map((phase) => { const pt = tasks.filter((t) => t.phase === phase); - return `
${phase}${pt.length}
${pt.length ? pt.map((t) => `
${t.task}${t.notes ? `${t.notes}` : ""}
${t.owner ? `${t.owner}` : ""}${t.due_date ? `${t.due_date}` : ""}
`).join("") : `
暂无任务
`}
`; + return `
${phase}${pt.length}
${pt.length ? pt.map((t) => `
${t.task}${t.notes ? `${t.notes}` : ""}
👤 ${t.owner || ""}📅 ${t.due_date || ""}
`).join("") : `
暂无任务
`}
`; }).join("")}`; document.querySelector("#taskModal").classList.add("active"); if (window.lucide) window.lucide.createIcons(); diff --git a/static/styles.css b/static/styles.css index f691511..2ad801f 100644 --- a/static/styles.css +++ b/static/styles.css @@ -537,7 +537,7 @@ td { .task-name { color: #c5c6ca; font-size: 13px; display: block; } .task-desc { color: #5a5c63; font-size: 12px; display: block; margin-top: 3px; } .task-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; } -.task-meta { color: #5a5c63; font-size: 11px; white-space: nowrap; } +.task-owner, .task-date { color: #898b94; font-size: 12px; white-space: nowrap; } .task-none { color: #4b4d54; font-size: 13px; padding: 12px 14px; text-align: center; border-top: 1px solid #24272d; } .task-form { background: #141518; border: 1px solid #2a2d34; border-radius: 8px;