style: 学习任务统计区改为卡片网格

This commit is contained in:
2026-09-13 22:48:15 +08:00
parent 939a135519
commit 5a32ad00ed
+14 -4
View File
@@ -662,7 +662,7 @@ onMounted(() => {
.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-columns: repeat(4, 1fr);
gap: 12px;
}
@@ -670,17 +670,27 @@ onMounted(() => {
display: flex;
flex-direction: column;
gap: 4px;
padding: 10px 12px;
background: var(--accent-success-softer);
border: 1px solid var(--border-soft);
border-radius: 8px;
}
.stat-label {
font-size: 13px;
font-size: 12px;
color: var(--text-secondary);
}
.stat-value {
font-size: 15px;
font-size: 16px;
font-weight: 600;
color: var(--text-primary);
color: var(--green-900);
}
@media (max-width: 900px) {
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}
.application-list {