feat:鲁迅添加引导
This commit is contained in:
1 parent
e8dc5d4b95
commit
3129e01257
26 files changed
+951
-86
No files matched your search
@@ -30,6 +30,7 @@ type QuizAnchor = {
|
||||
options: QuizOption[];
|
||||
// 拖拽题专用
|
||||
blanks?: { id: string; label: string }[];
|
||||
explanation?: string;
|
||||
};
|
||||
|
||||
// 星名固定为 chenyun
|
||||
@@ -48,11 +49,11 @@ const QUIZ_ANCHORS: QuizAnchor[] = [
|
||||
{
|
||||
value: "B",
|
||||
label: "鸟笼比喻",
|
||||
explanation: "鸟笼比喻是正确的处理好计划与市场的关系的一个发展阶段",
|
||||
},
|
||||
{ value: "C", label: "正确的处理好计划与市场的关系", isCorrect: true },
|
||||
{ value: "D", label: "经济建设的目的论", isCorrect: true },
|
||||
],
|
||||
explanation: "鸟笼比喻是正确的处理好计划与市场的关系的一个发展阶段",
|
||||
},
|
||||
{
|
||||
id: "quiz-2",
|
||||
@@ -234,7 +235,9 @@ const ChenyunInternalization = () => {
|
||||
label: `${opt.value}. ${opt.label}`,
|
||||
}))}
|
||||
correctAnswer={correctAnswers}
|
||||
errorMessage="再思考一下,注意选择所有正确答案。"
|
||||
errorMessage={
|
||||
item.explanation || "再思考一下,注意选择所有正确答案。"
|
||||
}
|
||||
onSubmit={(values: string[], isCorrect: boolean) => {
|
||||
if (isCorrect) {
|
||||
setActiveSuccess(item.id);
|
||||
|
||||
Reference in new issue
Block a user