diff --git a/frontend/src/views/TaskHall.vue b/frontend/src/views/TaskHall.vue index d8d8126..d751478 100644 --- a/frontend/src/views/TaskHall.vue +++ b/frontend/src/views/TaskHall.vue @@ -1550,11 +1550,13 @@ - 子任务: - 已完成 {{ task.subTaskCompleted || 0 }} - 进行中 {{ task.subTaskInProgress || 0 }} - 待接单 {{ task.subTaskPending || 0 }} - / 共 {{ task.subTaskTotal }} + 子任务进度: + {{ task.subTaskCompleted || 0 }} + / + {{ task.subTaskInProgress || 0 }} + / + {{ task.subTaskPending || 0 }} + (共{{ task.subTaskTotal }}个)
@@ -4967,16 +4969,21 @@ onUnmounted(() => { .subtask-stats { display: flex; align-items: center; - gap: 8px; - flex-wrap: wrap; - white-space: normal; - overflow: visible; + gap: 4px; + flex-wrap: nowrap; + white-space: nowrap; .stat { - padding: 2px 8px; + display: inline-flex; + align-items: center; + justify-content: center; + min-width: 24px; + height: 24px; + padding: 0 8px; border-radius: 4px; - font-size: 12px; - font-weight: 500; + font-size: 13px; + font-weight: 600; + cursor: help; white-space: nowrap; &.completed { @@ -4999,6 +5006,17 @@ onUnmounted(() => { padding: 0; } } + + .stat-separator { + color: #666; + font-size: 12px; + } + + .stat-label { + color: #888; + font-size: 12px; + margin-left: 4px; + } } } }