feat:更新

This commit is contained in:
zhongyidian committed 2026-04-29 12:55:02 +08:00
1 parent f5f36f75b5
commit 975bfc137a
7 files changed
+16 -5

No files matched your search

Binary file not shown.
+9
View File
@@ -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}
+1 -1
View File
@@ -229,7 +229,7 @@ const PuzzleSystem = ({
return (
<div
className="fixed inset-0 z-[100] flex items-center justify-center"
className="fixed inset-0 z-100 flex items-center justify-center"
style={{
background: 'rgba(0, 0, 0, 0.8)',
}}
+2 -1
View File
@@ -328,7 +328,8 @@ const LuxunReflectionScene1 = () => {
setShowGuideModal(false)
}}
audioSrc={getPublicPath('audio/luxun/mp3_luxun_31.mp3')}
firstLineIndent="2em"
contentPaddingLeft="2em"
// firstLineIndent="2em"
>
{`同学你好,欢迎来到“跨越时空·体悟”学习模块!
请登陆“时空回溯・亲历时代”体验仓,下一站:1892年,绍兴三味书屋。
+1 -1
View File
@@ -381,7 +381,7 @@ const LuxunReflectionScene3 = () => {
{ value: 'B', label: 'B. 只为个人成名' },
]}
correctAnswer="A"
errorMessage='不是哦,先生的创作从不是为了自己哦!请回忆先生"弃医从文"的初心。'
errorMessage="不是哦,先生的创作从不是为了自己哦!请回忆先生“弃医从文”的初心。"
onSubmit={handleQuiz3Submit}
/>
+1 -1
View File
@@ -65,7 +65,7 @@ const ANTHEM_LYRICS = [
const SMEDLEY_QUOTES = [
{ value: '1', label: '建设一个强大的和自由的中国' },
{ value: '2', label: '为我的遗体唱一首歌,中国的国歌……"起来"' },
{ value: '2', label: '为我的遗体唱一首歌,中国的国歌……“起来”' },
{ value: '3', label: '我的心灵在这个世界上除了中国的任何地方都未能找到安宁' },
]
+2 -1
View File
@@ -242,9 +242,10 @@ const NieerReflection = () => {
<StudyGuideModal
visible={showGuideModal}
firstLineIndent="2em"
onContinue={markReflectionGuideSeen}
audioSrc={getPublicPath('audio/nieer/mp3_nieer_28.mp3')}
contentPaddingLeft="2em"
// firstLineIndent="2em"
>
{`同学你好,欢迎来到“跨越时空·体悟”学习模块!
请登陆“时空回溯・亲历时代”体验仓,下一站:1936年,上海。