feat: add progression logic for puzzle residences
- Implemented functions to manage puzzle progress including checking if residences are started, complete, and unlocked. - Added utility functions to retrieve piece IDs based on residence and route. - Introduced a new TypeScript file for progression management. - Integrated puzzle data configuration and residence data for seamless progression tracking.
This commit is contained in:
1 parent
5a1c3cc368
commit
284302341c
72 files changed
+1104
-517
No files matched your search
@@ -235,6 +235,7 @@ const LuxunPlace1 = () => {
|
||||
visible={showAfterDialogGuide}
|
||||
onContinue={() => setShowAfterDialogGuide(false)}
|
||||
audioSrc={getPublicPath('audio/luxun/mp3_luxun_01.mp3')}
|
||||
firstLineIndent="2em"
|
||||
>
|
||||
{`同学你好,欢迎来到“走进故居·对话”学习模块!
|
||||
此刻你正立在鲁迅故居的一楼客厅里,接下来请随旧时光的纹路,一同翻开先生思想长卷里的5段深刻轨迹:风雨前夕的思想淬炼、杂文集里的匕首与投枪、历史新编中的现实呐喊、为亡友编纂的精神丰碑、6平方米的红色庇护所。准备好共赴这场笔尖与灵魂的滚烫相遇了吗?`}
|
||||
@@ -279,10 +280,10 @@ const LuxunPlace1 = () => {
|
||||
{ id: '4', label: '1927年3-9月' },
|
||||
]}
|
||||
rightItems={[
|
||||
{ id: 'a', label: '在绍兴三味书屋求学积淀' },
|
||||
{ id: 'b', label: '于北京八道湾参加新文化运动、酝酿《阿Q正传》' },
|
||||
{ id: 'c', label: '赴厦门大学任教,聚焦底层创作杂文' },
|
||||
{ id: 'a', label: '在绍兴三味书屋求学积淀' },
|
||||
{ id: 'd', label: '在广州白云楼整理旧作定稿《朝花夕拾》部分篇章' },
|
||||
{ id: 'c', label: '赴厦门大学任教,聚焦底层创作杂文' },
|
||||
]}
|
||||
correctMatches={[
|
||||
{ leftId: '1', rightId: 'a' },
|
||||
|
||||
Reference in new issue
Block a user