feat: 添加全局键盘快捷键和更新故居数据,提升用户体验
- 在 main.tsx 中添加全局键盘快捷键功能,允许用户通过 Ctrl+Shift+R 重置所有缓存。 - 更新多个故居的拼图数据,增加黄炎培和鲁迅的相关信息,丰富学习内容。 - 调整 ResidenceLayout 组件以支持新的故居,确保数据一致性。 - 清理不再使用的拼图布局配置文件,提升代码整洁性。
This commit is contained in:
1 parent
8ba36a4a1a
commit
a365964f54
155 files changed
+1387
-348
No files matched your search
@@ -192,6 +192,7 @@ const GuideSteps = ({
|
||||
animate={{ opacity: 1 }}
|
||||
exit={{ opacity: 0 }}
|
||||
transition={{ duration: 0.3, ease: "easeInOut" }}
|
||||
onClick={handleTextClick}
|
||||
>
|
||||
{/* 引导板容器和背景 - 作为整体切换,确保 padding 和背景同步 */}
|
||||
{/* 只在 isVisible 为 true 时才渲染,避免阻塞 exit 动画 */}
|
||||
|
||||
Reference in new issue
Block a user