From 673d1bc51142ebe8b498671f4d1d95892983b532 Mon Sep 17 00:00:00 2001 From: jacobxu666 Date: Wed, 5 Aug 2026 21:53:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=92=A4=E5=9B=9E=E5=AD=A9=E5=AD=90=E7=AB=AF?= =?UTF-8?q?=E5=8D=95=E8=AF=8D=E9=A1=B5=E7=BD=91=E6=A0=BC;=E5=AE=B6?= =?UTF-8?q?=E9=95=BF=E7=AB=AF=E8=B7=9F=E8=AF=BB=E5=BD=95=E9=9F=B3=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=94=B9=E4=B8=80=E8=A1=8C=E5=A4=9A=E4=B8=AA(?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=E6=8E=92=E5=B8=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 撤回 word-day 网格改动,恢复原卡片布局 - 家长端"单词跟读录音"(课程管理+学习概览)改为圆角标签自动换行, 一行多个,每个含单词+播放按钮 Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app/parent/dashboard.tsx | 10 +++++----- src/app/parent/overview-tab.tsx | 8 ++++---- src/app/words/word-day.tsx | 31 +++++++++++++------------------ 3 files changed, 22 insertions(+), 27 deletions(-) diff --git a/src/app/parent/dashboard.tsx b/src/app/parent/dashboard.tsx index 0704a08..98e99a0 100644 --- a/src/app/parent/dashboard.tsx +++ b/src/app/parent/dashboard.tsx @@ -151,13 +151,13 @@ export function ParentDashboard({

🎙️ 单词跟读录音

-
+
{recordings.length === 0 &&

暂无跟读录音

} {recordings.map((r, i) => ( -
- {r.childName} - {r.word} - +
+ {r.childName} + {r.word} +
))}
diff --git a/src/app/parent/overview-tab.tsx b/src/app/parent/overview-tab.tsx index 262798f..675e135 100644 --- a/src/app/parent/overview-tab.tsx +++ b/src/app/parent/overview-tab.tsx @@ -157,11 +157,11 @@ export function OverviewTab({ data }: { data: OverviewData }) { {cell.recs.length === 0 ? (

当天无跟读录音

) : ( -
+
{cell.recs.map((r, i) => ( -
- {r.word} - +
+ {r.word} +
))}
diff --git a/src/app/words/word-day.tsx b/src/app/words/word-day.tsx index 3b8c395..b0a83cb 100644 --- a/src/app/words/word-day.tsx +++ b/src/app/words/word-day.tsx @@ -136,39 +136,34 @@ export function WordDayClient({ 已学 {learnedSet.size}/{items.length} -
+
{items.map((it) => { const done = learnedSet.has(it.word); return ( -
-
- - + {it.meaning} + -
-

{it.meaning}

-
- -
{open === it.word && ( -
+

释义: {it.meaning || "见例句"} @@ -179,7 +174,7 @@ export function WordDayClient({

形近词: - {it.similar.map((s) => s.word).join("、") || "无"} + {it.similar.map((s) => `${s.word}(${s.meaning})`).join("、") || "无"}

)}