diff --git a/src/components/Review.vue b/src/components/Review.vue index 51b836e..8a3f430 100644 --- a/src/components/Review.vue +++ b/src/components/Review.vue @@ -117,6 +117,48 @@ onMounted(() => { + +
+
+
+ {{ row.taskName }} + {{ formatEffectiveTime(row.effectiveTime) }} +
+
+ 报告 {{ row.reportCount || 0 }} + 残片 {{ row.fragmentCount || 0 }} +
+
+ + 查看记录 + + + 回忆复习 + +
+
+
+ @@ -163,9 +205,68 @@ onMounted(() => { cursor: pointer; } +.mobile-task-list, +.mobile-empty { + display: none; +} + +.mobile-task-card { + padding: 14px 16px; + display: flex; + flex-direction: column; + gap: 10px; + cursor: pointer; +} + +.mobile-task-head { + display: flex; + align-items: center; + justify-content: space-between; + gap: 10px; +} + +.mobile-task-head strong { + min-width: 0; + 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 { + display: flex; + gap: 14px; + color: var(--text-secondary); + font-size: 13px; +} + +.mobile-task-actions { + display: flex; + gap: 4px; +} + @media (max-width: 900px) { .summary-grid { grid-template-columns: 1fr; } + + .table-card { + display: none; + } + + .mobile-task-list { + display: flex; + flex-direction: column; + gap: 10px; + } + + .mobile-empty { + display: block; + } }