diff --git a/public/audio/luxun/mp3_luxun_33_02.mp3 b/public/audio/luxun/mp3_luxun_33_02.mp3 index 8877b13..5a3ff7b 100644 Binary files a/public/audio/luxun/mp3_luxun_33_02.mp3 and b/public/audio/luxun/mp3_luxun_33_02.mp3 differ diff --git a/src/components/guide/StudyGuideModal.tsx b/src/components/guide/StudyGuideModal.tsx index efe2ca3..2e9ddcf 100644 --- a/src/components/guide/StudyGuideModal.tsx +++ b/src/components/guide/StudyGuideModal.tsx @@ -26,6 +26,8 @@ export interface StudyGuideModalProps { verticalAlign?: 'center' | 'top' | 'bottom' /** 正文首行缩进,如 '2em'、'32px' 或 32 */ firstLineIndent?: string | number + /** 正文左侧内边距,如 '2em'、'32px' 或 32 */ + contentPaddingLeft?: string | number /** 引导语音地址(可选) */ audioSrc?: string /** 弹窗出现时是否自动播放引导语音(默认 true) */ @@ -58,6 +60,7 @@ export const StudyGuideModal = ({ ailgn = 'center', verticalAlign = 'top', firstLineIndent, + contentPaddingLeft, audioSrc, autoPlayAudio = true, audioChannelId, @@ -161,6 +164,12 @@ export const StudyGuideModal = ({ : typeof firstLineIndent === 'number' ? `${firstLineIndent}px` : firstLineIndent, + paddingLeft: + contentPaddingLeft === undefined + ? undefined + : typeof contentPaddingLeft === 'number' + ? `${contentPaddingLeft}px` + : contentPaddingLeft, }} > {children} diff --git a/src/components/puzzle/PuzzleSystem.tsx b/src/components/puzzle/PuzzleSystem.tsx index b9fa04d..a7f987d 100644 --- a/src/components/puzzle/PuzzleSystem.tsx +++ b/src/components/puzzle/PuzzleSystem.tsx @@ -229,7 +229,7 @@ const PuzzleSystem = ({ return (
{ setShowGuideModal(false) }} audioSrc={getPublicPath('audio/luxun/mp3_luxun_31.mp3')} - firstLineIndent="2em" + contentPaddingLeft="2em" + // firstLineIndent="2em" > {`同学你好,欢迎来到“跨越时空·体悟”学习模块! 请登陆“时空回溯・亲历时代”体验仓,下一站:1892年,绍兴三味书屋。 diff --git a/src/pages/luxun/reflection/scene3.tsx b/src/pages/luxun/reflection/scene3.tsx index b8cbb82..01b8ce8 100644 --- a/src/pages/luxun/reflection/scene3.tsx +++ b/src/pages/luxun/reflection/scene3.tsx @@ -381,7 +381,7 @@ const LuxunReflectionScene3 = () => { { value: 'B', label: 'B. 只为个人成名' }, ]} correctAnswer="A" - errorMessage='不是哦,先生的创作从不是为了自己哦!请回忆先生"弃医从文"的初心。' + errorMessage="不是哦,先生的创作从不是为了自己哦!请回忆先生“弃医从文”的初心。" onSubmit={handleQuiz3Submit} /> diff --git a/src/pages/nieer/reflection/DialogLayer.tsx b/src/pages/nieer/reflection/DialogLayer.tsx index 6da91e2..d5efff3 100644 --- a/src/pages/nieer/reflection/DialogLayer.tsx +++ b/src/pages/nieer/reflection/DialogLayer.tsx @@ -65,7 +65,7 @@ const ANTHEM_LYRICS = [ const SMEDLEY_QUOTES = [ { value: '1', label: '建设一个强大的和自由的中国' }, - { value: '2', label: '为我的遗体唱一首歌,中国的国歌……"起来"' }, + { value: '2', label: '为我的遗体唱一首歌,中国的国歌……“起来”' }, { value: '3', label: '我的心灵在这个世界上除了中国的任何地方都未能找到安宁' }, ] diff --git a/src/pages/nieer/reflection/index.tsx b/src/pages/nieer/reflection/index.tsx index 6a8ebd9..c78e43b 100644 --- a/src/pages/nieer/reflection/index.tsx +++ b/src/pages/nieer/reflection/index.tsx @@ -242,9 +242,10 @@ const NieerReflection = () => { {`同学你好,欢迎来到“跨越时空·体悟”学习模块! 请登陆“时空回溯・亲历时代”体验仓,下一站:1936年,上海。