diff --git a/src/components/Review.vue b/src/components/Review.vue index 8a3f430..d9395cc 100644 --- a/src/components/Review.vue +++ b/src/components/Review.vue @@ -84,56 +84,24 @@ onMounted(() => { -
- - - - - - - - - - - -
- -
+
-
+
{{ row.taskName }} - {{ formatEffectiveTime(row.effectiveTime) }}
-
- 报告 {{ row.reportCount || 0 }} - 残片 {{ row.fragmentCount || 0 }} +
+ 累计有效学习时长:{{ formatEffectiveTime(row.effectiveTime) }}
-
+
+ 学习报告数量:{{ row.reportCount || 0 }} + 学习残片数量:{{ row.fragmentCount || 0 }} +
+
{
- + @@ -197,20 +161,13 @@ onMounted(() => { color: var(--green-900); } -.table-card { - padding: 10px; +.task-list { + display: flex; + flex-direction: column; + gap: 10px; } -.table-card :deep(.el-table__row) { - cursor: pointer; -} - -.mobile-task-list, -.mobile-empty { - display: none; -} - -.mobile-task-card { +.task-card { padding: 14px 16px; display: flex; flex-direction: column; @@ -218,34 +175,23 @@ onMounted(() => { cursor: pointer; } -.mobile-task-head { - display: flex; - align-items: center; - justify-content: space-between; - gap: 10px; -} - -.mobile-task-head strong { - min-width: 0; +.task-head strong { + display: block; color: var(--green-900); font-size: 15px; overflow-wrap: anywhere; } -.mobile-task-time { - flex-shrink: 0; - color: var(--text-secondary); - font-size: 13px; -} - -.mobile-task-stats { +.task-meta, +.task-stats { display: flex; - gap: 14px; + flex-wrap: wrap; + gap: 8px 14px; color: var(--text-secondary); font-size: 13px; } -.mobile-task-actions { +.task-actions { display: flex; gap: 4px; } @@ -254,19 +200,5 @@ onMounted(() => { .summary-grid { grid-template-columns: 1fr; } - - .table-card { - display: none; - } - - .mobile-task-list { - display: flex; - flex-direction: column; - gap: 10px; - } - - .mobile-empty { - display: block; - } }