更新依赖项及历史人物相关内容资源

- 更新 package.json 和 package-lock.json 中的依赖项
- 新增/更新陈云、黄炎培、鲁迅、孙中山的音频文件
- 新增场景和组件的图片资源
- 清理未使用的音频和图片文件
- 优化多个组件和页面的实现逻辑
This commit is contained in:
zhongyidian committed 2026-04-20 13:27:18 +08:00
1 parent b1d55b9464
commit e0fa47d21a
629 files changed
+24390 -2991

No files matched your search

+2 -7
View File
@@ -39,10 +39,6 @@ const ChenyunPlace4 = () => {
const place = 'place4'
const { markExhibitVisited, getVisitedExhibits, setLastVisitedPlace } = useChenyunStore()
useEffect(() => {
setLastVisitedPlace(place)
}, [setLastVisitedPlace])
// 从 store 获取已访问的展品,转换为 Set 用于兼容现有代码
const visitedExhibits = getVisitedExhibits(place)
const visited = new Set(visitedExhibits)
@@ -88,9 +84,7 @@ const ChenyunPlace4 = () => {
const progressCount = visited.size
const total = 2
const completed = progressCount >= total
const subtitle = completed
? '探索该阶段相关资料(已完成)'
: `探索该阶段相关资料(${progressCount}/${total})`
const subtitle = completed ? '已完成' : `${progressCount}/${total}`
const subtitleClassName = completed
? 'text-[#fff998] [text-shadow:_0_8px_8px_rgba(0,0,0,0.35),_0_0_16px_rgba(0,0,0,0.25)]'
: undefined
@@ -143,6 +137,7 @@ const ChenyunPlace4 = () => {
src={getStaticImage('chenyun/place3/继续前进3')}
button
onClick={() => {
setLastVisitedPlace('place5')
saveChenyunStore()
navigate(`/${moduleName}/${starName}/place5`)
}}