Commit Graph
32 Commits
Author SHA1 Message Date
zhongyidian 9184c41cc7 feat: 更新线索提示功能和图像资源,提升用户体验
- 在 ClueBookModal 组件中添加线索提示图像功能,增强互动性。
- 更新多个场景中的引导对话文本,确保信息准确性和一致性。
- 替换和更新多个图像资源,提升视觉内容的准确性。
- 调整完成提示弹窗文本,优化用户体验。
2026-01-18 12:29:04 +08:00
zhongyidian ac7bb420fd feat: 更新图像资源和引导对话,提升学习体验
- 替换多个场景中的图像资源,确保视觉内容的准确性和一致性。
- 更新信件组件中的输入校验功能,提升用户填写体验。
- 调整引导对话文本,增强互动性和信息传达的清晰度。
- 引入结束窗口,鼓励用户深入了解鲁迅和孙中山的历史背景。
2026-01-18 01:41:53 +08:00
zhongyidian 5bdfdadede feat: 更新组件和引导对话,增强用户体验
- 在多个组件中添加新的选择和填空功能,提升互动性。
- 更新引导对话文本,确保信息准确性和一致性。
- 引入新的选择组件,优化用户填写体验。
- 清理冗余代码,提升可维护性。
2026-01-16 17:54:51 +08:00
zhongyidian a8723ab4aa feat: 添加音频资源和更新引导对话,提升学习体验
- 在多个场景中引入音频文件,增强互动性和沉浸感。
- 更新引导对话文本,确保信息准确性和一致性。
- 调整组件结构,清理冗余代码,提升可维护性。
- 引入结束窗口,鼓励用户深入了解黄炎培的教育理念。
2026-01-16 00:00:12 +08:00
zhongyidian 6e106032fd feat: 更新音频和引导对话,优化用户体验
- 在多个场景中添加音频资源,增强学习互动性。
- 更新引导对话文本,确保信息准确性和一致性。
- 调整组件结构,清理不必要的代码,提升可维护性。
- 引入结束窗口,鼓励用户深入了解历史背景。
2026-01-15 19:30:17 +08:00
zhongyidian d7ff7d3a45 feat: 更新光标组件和场景交互
- 在 Cursor 组件中添加禁用状态,增强用户交互体验。
- 更新多个场景以使用新的光标控制逻辑,确保光标的启用状态与展品访问状态相匹配。
- 在信件组件中添加输入校验功能,提升用户填写体验。
- 调整文本内容和引导对话,确保信息准确性和一致性。
2026-01-14 18:40:52 +08:00
zhongyidian a6570efa19 feat: 添加黄炎培相关场景和引导对话
- 新增黄炎培故居的图像资源,丰富视觉内容。
- 更新多个场景中的引导对话,提升学习互动性和历史背景的准确性。
- 调整文本内容,确保信息的一致性和流畅性。
- 引入结束窗口,增强用户体验,鼓励用户深入了解黄炎培的教育理念。
2026-01-14 00:15:49 +08:00
zhongyidian 71f607f6a3 feat: 更新场景和组件,优化用户体验
- 更新多个场景中的引导对话,提升学习互动性。
- 修改组件以清理不必要的学习引导弹窗,简化用户流程。
- 调整文本内容,确保信息准确性和一致性。
- 添加背景音乐控制,增强沉浸式体验。
2026-01-13 18:48:10 +08:00
zhongyidian d226283e15 feat: 更新配置和组件,添加引导对话
- 更新 ESLint 配置以忽略 vite.config.ts 文件。
- 在 package.json 中添加 pnpm 配置。
- 修改 tsconfig 文件以包含 vite.config.ts 和 eslint.config.ts。
- 在多个场景中添加引导对话,增强用户学习体验。
- 更新组件中的文本和描述,确保一致性和准确性。
2026-01-12 18:05:42 +08:00
zhongyidian 046501705f feat:碎片完善 2026-01-11 18:18:20 +08:00
zhongyidian ec7e8e2bd2 feat:完善孙中山 2026-01-10 21:09:26 +08:00
zhongyidian b3d30100da feat: 孙中山对话完善 2026-01-09 20:18:26 +08:00
zhongyidian 786f29a2f7 feat:孙中山对话前3个场景 2026-01-09 01:20:13 +08:00
zhongyidian 3129e01257 feat:鲁迅添加引导 2026-01-08 18:41:24 +08:00
zhongyidian e8dc5d4b95 feat:完善黄炎培对话引导 2026-01-08 00:09:28 +08:00
zhongyidian 6ab184b328 feat:黄炎培对话对接中 2026-01-07 21:08:38 +08:00
zhongyidian 3611a0857a feat: 鲁迅体悟场景1、场景2 2026-01-04 01:39:39 +08:00
zhongyidian dd1cabfb87 feat: remove LuxunReflection component and update routing for new reflection scenes
- Deleted the LuxunReflection component.
- Updated routing to include new reflection scenes: reflection2 and reflection3.
2026-01-03 20:26:46 +08:00
zhongyidian cad38e43df feat:添加孙中山场景 2026-01-02 23:32:26 +08:00
zhongyidian bf4a98bf9f feat: 完善黄炎培体悟 2025-12-31 17:48:23 +08:00
zhongyidian 66f460633a feat:添加黄炎培成长之路页面内容;学业选择框和思想选择框 2025-12-30 00:29:11 +08:00
zhongyidian ae0c050010 feat:init 2025-12-29 19:19:10 +08:00
zhongyidian 53d0eeac6b feat: 添加引导页、视频播放和触摸交互功能
- 新增引导页组件(Guide.tsx)及相关资源
- 添加视频播放功能和相关资源文件
- 实现useTouch自定义hook支持触摸交互
- 添加store状态管理
- 更新多个页面组件(Content, Menu, Publicity)
- 优化图片组件和背景图片组件
- 更新项目依赖
2025-10-31 17:49:13 +08:00
zhongyidian 4ce7520066 feat: enhance modal functionality and integrate new components
- Added keyframes and animation for a smooth scale-in effect in the Tailwind configuration.
- Updated Image component to improve quality handling and style definitions.
- Introduced WordViewer and WordViewerModal components for document viewing capabilities.
- Enhanced Modal component to support embedded mode with customizable position and dimensions.
- Integrated IframeModal across various pages for user assistance and content display.
- Updated Content and Menu pages to utilize new components and improve user interaction.
- Added utility function to retrieve public paths for resources.
2025-10-29 00:18:06 +08:00
zhongyidian 13dd84a8a7 feat: add avatar interaction and modal for user assistance
- Introduced an avatar element that opens a modal when clicked, providing users with assistance.
- Integrated IframeModal component to display external content within the modal.
- Enhanced user experience with hover effects on the avatar.
2025-10-26 13:15:41 +08:00
zhongyidian 2d66abc610 refactor: clean up dependencies and enhance component functionality
- Removed unused dependencies related to @dnd-kit from pnpm-lock.yaml.
- Updated Vite configuration to set the base path.
- Added input styles to the main CSS file.
- Enhanced BackgroundImage component to include an overflowHidden prop for better layout control.
- Deleted the DraggableItem component as it was no longer needed.
- Updated routing to include new Publicity and Content pages, and modified navigation in Menu and NotFound components.
2025-10-22 00:41:38 +08:00
zhongyidian 29029bb608 feat: update README and enhance Menu component with teacher selection functionality
- Updated project title in README.md to reflect the new focus on "名师工作室".
- Enhanced Image component to accept custom styles.
- Implemented teacher selection feature in Menu component, allowing users to select and display different teacher avatars with corresponding positions and transitions.
2025-10-21 18:14:20 +08:00
zhongyidian 95d594c2aa refactor: update project structure and content 2025-10-21 18:14:01 +08:00
zhongyidian cdbe3bb51e feat:提交实验室环境配置 2025-10-21 00:59:09 +08:00
zhongyidian 6367014e1f fix:解决拖拽问题 2025-10-20 17:50:42 +08:00
zhongyidianandClaude 543cecf2ee 迁移到 TypeScript
完整的 TypeScript 迁移,提升代码质量和开发体验

**安装依赖:**
- TypeScript 5.9.3
- @types/react, @types/react-dom, @types/node
- typescript-eslint 相关包

**配置文件:**
- 创建 tsconfig.json (应用配置)
- 创建 tsconfig.node.json (Node 配置)
- 更新 eslint.config.ts 支持 TypeScript
- 所有配置文件迁移到 .ts 扩展名

**源代码迁移:**
- 所有 .jsx 文件 → .tsx
- 所有 .js 文件 → .ts
- 添加完整的类型定义和接口
- 修复所有类型错误

**类型定义:**
- Experiment 接口 (实验数据类型)
- DraggableItemProps 接口
- 函数参数类型注解
- React 组件 Props 类型

**代码优化:**
- 修复 main.tsx 中的 null 检查
- 添加 DragEndEvent 类型
- 使用类型守卫和类型断言
- 改进错误处理

**构建脚本:**
- 添加 typecheck 脚本
- build 脚本包含类型检查
- 更新 index.html 入口为 main.tsx

**验证:**
- ✅ TypeScript 编译通过
- ✅ ESLint 检查通过
- ✅ 所有类型正确推导
- ✅ 代码质量提升

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 10:30:10 +08:00
zhongyidianandClaude 6b84a5ed98 实现路由管理系统
- 创建 router.js 统一管理路由配置
- App.jsx 重构为使用 RouterProvider
- 创建 pages 目录结构:
  - Layout.jsx: 主布局组件,包含 header 和 footer
  - Home.jsx: 首页实验列表(原 App.jsx 内容)
  - ExperimentDetail.jsx: 实验详情页,展示完整实验信息
  - NotFound.jsx: 404 页面
- 实现页面导航功能:
  - 点击实验项目可跳转到详情页
  - 详情页支持返回列表
  - 完善的错误处理和 404 页面
- 实验详情页功能:
  - 展示实验目标、步骤、注意事项
  - 实验信息卡片(时长、难度、类型)
  - 交互式按钮(开始实验、下载资料)
- 所有代码通过 ESLint 检查

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-16 23:25:17 +08:00