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 (