feat: 更新光标组件和场景交互

- 在 Cursor 组件中添加禁用状态,增强用户交互体验。
- 更新多个场景以使用新的光标控制逻辑,确保光标的启用状态与展品访问状态相匹配。
- 在信件组件中添加输入校验功能,提升用户填写体验。
- 调整文本内容和引导对话,确保信息准确性和一致性。
This commit is contained in:
zhongyidian committed 2026-01-14 18:40:52 +08:00
1 parent a6570efa19
commit d7ff7d3a45
25 files changed
+769 -158

No files matched your search

+5 -4
View File
@@ -78,7 +78,7 @@ const QUIZ_ANCHORS: QuizAnchor[] = [
},
{
id: "quiz-3",
time: Math.ceil(16.04 * 60),
time: 16 * 60 + 26, //16:26
title: "题目3",
prompt: "新时代的青年可以从陈云身上学习到",
type: "drag",
@@ -86,7 +86,7 @@ const QUIZ_ANCHORS: QuizAnchor[] = [
{ value: "积极的人生态度", label: "A.积极的人生态度", isCorrect: true },
{ value: "刻苦的学习精神", label: "B.刻苦的学习精神", isCorrect: true },
{ value: "朴素的节俭精神", label: "C.朴素的节俭精神", isCorrect: true },
{ value: "实事求是的精神", label: "D.实事求是的精神" },
{ value: "只唯上的工作作风", label: "D.只唯上的工作作风" },
],
blanks: [
{ id: "blank-1", label: "____" },
@@ -180,7 +180,8 @@ const ChenyunInternalization = () => {
} else {
setDragQuizErrors((prev) => ({
...prev,
[item.id]: "再想一想,确保选择了所有正确答案~",
[item.id]:
"再想一想,不唯上才是陈云的工作作风,不是只唯上!",
}));
}
};
@@ -191,7 +192,7 @@ const ChenyunInternalization = () => {
visible={activeSuccess !== item.id}
zIndex={10000}
questionPrefix={`【拖拽】${item.prompt}`}
questionSuffix="等精神。(ABC)"
questionSuffix="等精神。"
options={item.options.map((opt) => ({
value: opt.value,
label: opt.label,