feat: 更新音频和引导对话,优化用户体验

- 在多个场景中添加音频资源,增强学习互动性。
- 更新引导对话文本,确保信息准确性和一致性。
- 调整组件结构,清理不必要的代码,提升可维护性。
- 引入结束窗口,鼓励用户深入了解历史背景。
This commit is contained in:
zhongyidian committed 2026-01-15 19:30:17 +08:00
1 parent d7ff7d3a45
commit 6e106032fd
141 files changed
+1375 -479

No files matched your search

@@ -12,7 +12,7 @@ import { usePuzzleAnimation } from "@/contexts/PuzzleAnimationContext";
import { usePuzzleStore } from "@/store/puzzleStore";
import { starName } from "../constants";
import type { FileType } from "../shared/types";
import type { ClueData } from "@/components/layout";
import type { ClueData } from "../clue/types";
export interface YinyuanBattleProps {
/** 当前展开的文件 */
@@ -6,7 +6,7 @@ import { Image } from "@/components";
import { cn, getStaticImage } from "@/lib/utils";
import { ClueItem } from "../shared/ClueItem";
import type { FileType } from "../shared/types";
import type { ClueData } from "@/components/layout";
import type { ClueData } from "../clue/types";
import { YINYUAN_CLUE_DATA } from "../constants/yinyuan";
export interface YinyuanCluesProps {
@@ -120,4 +120,3 @@ export const YinyuanClues = ({
</>
);
};
@@ -4,6 +4,7 @@
*/
import { Narration, MultipleChoiceQuizPanel } from "@/components";
import SuccessAlert from "@/components/layout/alert/success-alert";
import { getPublicPath } from "@/lib/utils";
export interface YinyuanQuizzesProps {
/** 是否显示多选题1 */
@@ -70,6 +71,7 @@ export const YinyuanQuizzes = ({
visible={showNarration2}
onClose={onNarration2Close}
enableAnimation={false}
audioSrc={getPublicPath("audio/chenyun/mp3_chenyun_31.mp3")}
/>
{/* 多选题2(图3)- 关闭旁白后显示 */}