@mathwiz/ui-components 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/HundredChart/HundredChart.css +8 -0
- package/dist/components/HundredChart/HundredChart.d.ts.map +1 -1
- package/dist/components/HundredChart/HundredChart.types.d.ts +29 -0
- package/dist/components/HundredChart/HundredChart.types.d.ts.map +1 -1
- package/dist/components/HundredChart/HundredChart.utils.d.ts +13 -1
- package/dist/components/HundredChart/HundredChart.utils.d.ts.map +1 -1
- package/dist/components/HundredChart/index.d.ts +2 -2
- package/dist/components/HundredChart/index.d.ts.map +1 -1
- package/dist/components/MathCardV2/DecimalNumberRecognitionSessionStore.d.ts +2 -2
- package/dist/components/MathCardV2/DecimalNumberRecognitionSessionStore.d.ts.map +1 -1
- package/dist/components/MathCardV2/ExplanationStep.d.ts +9 -0
- package/dist/components/MathCardV2/ExplanationStep.d.ts.map +1 -1
- package/dist/components/MathCardV2/MathCardV2.css +11 -4
- package/dist/components/MathCardV2/MathCardV2.d.ts.map +1 -1
- package/dist/components/MathCardV2/MathCardV2.types.d.ts +51 -1
- package/dist/components/MathCardV2/MathCardV2.types.d.ts.map +1 -1
- package/dist/components/MathCardV2/MathPracticeSessionStore.d.ts +3 -3
- package/dist/components/MathCardV2/MathPracticeSessionStore.d.ts.map +1 -1
- package/dist/components/MathCardV2/MathPracticeSessionTypes.d.ts +38 -18
- package/dist/components/MathCardV2/MathPracticeSessionTypes.d.ts.map +1 -1
- package/dist/components/MathCardV2/MathPracticeStoreContext.d.ts +3 -9
- package/dist/components/MathCardV2/MathPracticeStoreContext.d.ts.map +1 -1
- package/dist/components/MathCardV2/MathPracticeStoreHooks.d.ts +3 -2
- package/dist/components/MathCardV2/MathPracticeStoreHooks.d.ts.map +1 -1
- package/dist/components/MathCardV2/components/content/OptionGroupContent.d.ts +10 -0
- package/dist/components/MathCardV2/components/content/OptionGroupContent.d.ts.map +1 -0
- package/dist/components/MathCardV2/components/renderers/ContentRenderer.d.ts.map +1 -1
- package/dist/components/MathCardV2/hooks/useDataAdapter.d.ts.map +1 -1
- package/dist/components/MathCardV2/hooks/useMeetingProblemAdapter.d.ts.map +1 -1
- package/dist/components/MathCardV2/modules/ReviewModule/ReviewModule.d.ts.map +1 -1
- package/dist/components/MathCardV2/scenes/ExplanationScene/ExplanationScene.d.ts.map +1 -1
- package/dist/components/MathCardV2/scenes/QuestionScene/QuestionScene.css +18 -18
- package/dist/components/MathCardV2/scenes/QuestionScene/QuestionScene.d.ts.map +1 -1
- package/dist/components/OptionGroup/OptionCard.d.ts +11 -0
- package/dist/components/OptionGroup/OptionCard.d.ts.map +1 -0
- package/dist/components/OptionGroup/OptionCard.styles.d.ts +87 -0
- package/dist/components/OptionGroup/OptionCard.styles.d.ts.map +1 -0
- package/dist/components/OptionGroup/OptionGroup.d.ts +11 -0
- package/dist/components/OptionGroup/OptionGroup.d.ts.map +1 -0
- package/dist/components/OptionGroup/OptionGroup.types.d.ts +71 -0
- package/dist/components/OptionGroup/OptionGroup.types.d.ts.map +1 -0
- package/dist/components/OptionGroup/index.d.ts +5 -0
- package/dist/components/OptionGroup/index.d.ts.map +1 -0
- package/dist/components/StatBlock/StatBlock.css +330 -330
- package/dist/data/GeometryProblemAdapterV4/geometry-types.d.ts +119 -4
- package/dist/data/GeometryProblemAdapterV4/geometry-types.d.ts.map +1 -1
- package/dist/data/GeometryProblemAdapterV4/jsondata/parallelogram-revised.json +721 -721
- package/dist/data/GeometryProblemAdapterV4/jsondata/right-triangle-v4.json +594 -594
- package/dist/data/GeometryProblemAdapterV4/jsondata/trapezoid-v4-final.json +469 -469
- package/dist/data/GeometryProblemAdapterV4/jsondata/triangle-v4-final.json +1 -1
- package/dist/data/GeometryProblemAdapterV4/types.d.ts +2 -0
- package/dist/data/GeometryProblemAdapterV4/types.d.ts.map +1 -1
- package/dist/data/TriangleAdapterV3/config/embeddedConfigs.d.ts +96 -18
- package/dist/data/TriangleAdapterV3/config/embeddedConfigs.d.ts.map +1 -1
- package/dist/data/TriangleAdapterV3/config/index.d.ts +64 -12
- package/dist/data/TriangleAdapterV3/config/index.d.ts.map +1 -1
- package/dist/data/TriangleAdapterV3/core/syncAdapter.d.ts +5 -0
- package/dist/data/TriangleAdapterV3/core/syncAdapter.d.ts.map +1 -1
- package/dist/data/TriangleAdapterV3/transformers/hundredChartTransformer.d.ts +58 -0
- package/dist/data/TriangleAdapterV3/transformers/hundredChartTransformer.d.ts.map +1 -0
- package/dist/data/TriangleAdapterV3/transformers/index.d.ts +2 -0
- package/dist/data/TriangleAdapterV3/transformers/index.d.ts.map +1 -1
- package/dist/data/TriangleAdapterV3/transformers/optionGroupTransformer.d.ts +29 -0
- package/dist/data/TriangleAdapterV3/transformers/optionGroupTransformer.d.ts.map +1 -0
- package/dist/data/TriangleAdapterV3/types.d.ts +3 -0
- package/dist/data/TriangleAdapterV3/types.d.ts.map +1 -1
- package/dist/data/config/style-presets.json +27 -3
- package/dist/data/dataSchema/OpenAPI/openapi.json +5777 -5777
- package/dist/data/problems/factorProblemV4-backup.json +427 -0
- package/dist/data/problems/factorProblemV4.json +462 -0
- package/dist/data/problems/factorProblemV4_backup_20260311.json +436 -0
- package/dist/index.cjs +103 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +12091 -6033
- package/dist/index.mjs.map +1 -1
- package/dist/mathwiz-ui.css +1 -1
- package/dist/pages/AreaGeometrySessionPage/AreaGeometrySessionPageIXL.css +385 -0
- package/dist/pages/AreaGeometrySessionPage/AreaGeometrySessionPageIXL.d.ts +29 -0
- package/dist/pages/AreaGeometrySessionPage/AreaGeometrySessionPageIXL.d.ts.map +1 -0
- package/dist/pages/AreaGeometrySessionPage/components/LearningDashboardPlaceholder.css +219 -0
- package/dist/pages/AreaGeometrySessionPage/components/LearningDashboardPlaceholder.d.ts +15 -0
- package/dist/pages/AreaGeometrySessionPage/components/LearningDashboardPlaceholder.d.ts.map +1 -0
- package/dist/pages/AreaGeometrySessionPage/components/ReviewSectionPlaceholder.css +64 -0
- package/dist/pages/AreaGeometrySessionPage/components/ReviewSectionPlaceholder.d.ts +11 -0
- package/dist/pages/AreaGeometrySessionPage/components/ReviewSectionPlaceholder.d.ts.map +1 -0
- package/dist/pages/AreaGeometrySessionPage/components/ScaffoldingPlaceholder.css +59 -0
- package/dist/pages/AreaGeometrySessionPage/components/ScaffoldingPlaceholder.d.ts +14 -0
- package/dist/pages/AreaGeometrySessionPage/components/ScaffoldingPlaceholder.d.ts.map +1 -0
- package/dist/pages/AreaGeometrySessionPage/index.d.ts +3 -1
- package/dist/pages/AreaGeometrySessionPage/index.d.ts.map +1 -1
- package/dist/pages/AreaGeometrySessionPage/types.d.ts +25 -0
- package/dist/pages/AreaGeometrySessionPage/types.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/mathcard-tokens.css +47 -5
- package/package.json +1 -1
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": "4.0.0",
|
|
3
|
+
"config_version": "1.0.0",
|
|
4
|
+
"math_prob_id": "mp-factors-12-001",
|
|
5
|
+
"title": "找出12的因数",
|
|
6
|
+
"description": "通过百格图模型找出12的所有因数,理解因数概念",
|
|
7
|
+
"objective": "掌握找因数的方法,理解因数与倍数的关系",
|
|
8
|
+
"difficulty": 1,
|
|
9
|
+
"grade_id": "g4",
|
|
10
|
+
"unit_name": "因数与倍数",
|
|
11
|
+
"unit_id": 1050603,
|
|
12
|
+
"lesson_name": "找因数",
|
|
13
|
+
"lesson_id": 105060301,
|
|
14
|
+
"module_id": 1003,
|
|
15
|
+
"skill_description": "能够找出12的所有因数",
|
|
16
|
+
"skill_item_id": "s-105-06-0003",
|
|
17
|
+
"skill_id": 1003,
|
|
18
|
+
"score": 2,
|
|
19
|
+
"knowledge_points": [
|
|
20
|
+
"因数的概念",
|
|
21
|
+
"找因数的方法",
|
|
22
|
+
"因数与倍数的关系"
|
|
23
|
+
],
|
|
24
|
+
"metadata": {
|
|
25
|
+
"topic": "因数与倍数",
|
|
26
|
+
"skill": "找因数",
|
|
27
|
+
"tags": [
|
|
28
|
+
"因数",
|
|
29
|
+
"百格图",
|
|
30
|
+
"12的因数"
|
|
31
|
+
],
|
|
32
|
+
"version": "1.0.0",
|
|
33
|
+
"author": "math-geometry-problem-generator",
|
|
34
|
+
"strategy": "hundredGrid_factor_demonstration"
|
|
35
|
+
},
|
|
36
|
+
"basic_info": {
|
|
37
|
+
"question": "找出12的所有因数。",
|
|
38
|
+
"answerUnit": "",
|
|
39
|
+
"targetNumber": 12,
|
|
40
|
+
"correctFactors": [
|
|
41
|
+
1,
|
|
42
|
+
2,
|
|
43
|
+
3,
|
|
44
|
+
4,
|
|
45
|
+
6,
|
|
46
|
+
12
|
|
47
|
+
],
|
|
48
|
+
"variables": {
|
|
49
|
+
"n": 12,
|
|
50
|
+
"factors": [
|
|
51
|
+
1,
|
|
52
|
+
2,
|
|
53
|
+
3,
|
|
54
|
+
4,
|
|
55
|
+
6,
|
|
56
|
+
12
|
|
57
|
+
],
|
|
58
|
+
"factorPairs": [
|
|
59
|
+
[
|
|
60
|
+
1,
|
|
61
|
+
12
|
|
62
|
+
],
|
|
63
|
+
[
|
|
64
|
+
2,
|
|
65
|
+
6
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
3,
|
|
69
|
+
4
|
|
70
|
+
]
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"geometry_shapes": {
|
|
75
|
+
"hundredchart_question": {
|
|
76
|
+
"id": "hundredchart_question",
|
|
77
|
+
"type": "hundredGrid",
|
|
78
|
+
"styleRef": "hundredGrid_primary",
|
|
79
|
+
"config": {
|
|
80
|
+
"grid": {
|
|
81
|
+
"rows": 2,
|
|
82
|
+
"cols": 6,
|
|
83
|
+
"cellSize": 36,
|
|
84
|
+
"showNumbers": true
|
|
85
|
+
},
|
|
86
|
+
"highlight": {
|
|
87
|
+
"numbers": [
|
|
88
|
+
1,
|
|
89
|
+
2,
|
|
90
|
+
3,
|
|
91
|
+
4,
|
|
92
|
+
5,
|
|
93
|
+
6,
|
|
94
|
+
7,
|
|
95
|
+
8,
|
|
96
|
+
9,
|
|
97
|
+
10,
|
|
98
|
+
11,
|
|
99
|
+
12
|
|
100
|
+
],
|
|
101
|
+
"color": "#4a90e2",
|
|
102
|
+
"highlightType": "fill"
|
|
103
|
+
},
|
|
104
|
+
"interactive": {
|
|
105
|
+
"mode": "multi-select",
|
|
106
|
+
"minSelections": 1,
|
|
107
|
+
"maxSelections": 12,
|
|
108
|
+
"allowDeselect": true
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"hundredchart_1x12": {
|
|
113
|
+
"id": "hundredchart_1x12",
|
|
114
|
+
"type": "hundredGrid",
|
|
115
|
+
"styleRef": "hundredGrid_solve",
|
|
116
|
+
"config": {
|
|
117
|
+
"grid": {
|
|
118
|
+
"rows": 1,
|
|
119
|
+
"cols": 12,
|
|
120
|
+
"cellSize": 28,
|
|
121
|
+
"showNumbers": true
|
|
122
|
+
},
|
|
123
|
+
"highlight": {
|
|
124
|
+
"numbers": [
|
|
125
|
+
1,
|
|
126
|
+
2,
|
|
127
|
+
3,
|
|
128
|
+
4,
|
|
129
|
+
5,
|
|
130
|
+
6,
|
|
131
|
+
7,
|
|
132
|
+
8,
|
|
133
|
+
9,
|
|
134
|
+
10,
|
|
135
|
+
11,
|
|
136
|
+
12
|
|
137
|
+
],
|
|
138
|
+
"color": "#f0ad4e",
|
|
139
|
+
"highlightType": "fill"
|
|
140
|
+
},
|
|
141
|
+
"interactive": {
|
|
142
|
+
"mode": "readonly"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"hundredchart_2x6": {
|
|
147
|
+
"id": "hundredchart_2x6",
|
|
148
|
+
"type": "hundredGrid",
|
|
149
|
+
"styleRef": "hundredGrid_solve",
|
|
150
|
+
"config": {
|
|
151
|
+
"grid": {
|
|
152
|
+
"rows": 2,
|
|
153
|
+
"cols": 6,
|
|
154
|
+
"cellSize": 32,
|
|
155
|
+
"showNumbers": true
|
|
156
|
+
},
|
|
157
|
+
"highlight": {
|
|
158
|
+
"numbers": [
|
|
159
|
+
1,
|
|
160
|
+
2,
|
|
161
|
+
3,
|
|
162
|
+
4,
|
|
163
|
+
5,
|
|
164
|
+
6,
|
|
165
|
+
7,
|
|
166
|
+
8,
|
|
167
|
+
9,
|
|
168
|
+
10,
|
|
169
|
+
11,
|
|
170
|
+
12
|
|
171
|
+
],
|
|
172
|
+
"color": "#f0ad4e",
|
|
173
|
+
"highlightType": "fill"
|
|
174
|
+
},
|
|
175
|
+
"interactive": {
|
|
176
|
+
"mode": "readonly"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"hundredchart_3x4": {
|
|
181
|
+
"id": "hundredchart_3x4",
|
|
182
|
+
"type": "hundredGrid",
|
|
183
|
+
"styleRef": "hundredGrid_solve",
|
|
184
|
+
"config": {
|
|
185
|
+
"grid": {
|
|
186
|
+
"rows": 3,
|
|
187
|
+
"cols": 4,
|
|
188
|
+
"cellSize": 32,
|
|
189
|
+
"showNumbers": true
|
|
190
|
+
},
|
|
191
|
+
"highlight": {
|
|
192
|
+
"numbers": [
|
|
193
|
+
1,
|
|
194
|
+
2,
|
|
195
|
+
3,
|
|
196
|
+
4,
|
|
197
|
+
5,
|
|
198
|
+
6,
|
|
199
|
+
7,
|
|
200
|
+
8,
|
|
201
|
+
9,
|
|
202
|
+
10,
|
|
203
|
+
11,
|
|
204
|
+
12
|
|
205
|
+
],
|
|
206
|
+
"color": "#f0ad4e",
|
|
207
|
+
"highlightType": "fill"
|
|
208
|
+
},
|
|
209
|
+
"interactive": {
|
|
210
|
+
"mode": "readonly"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
"scenes": {
|
|
216
|
+
"question": {
|
|
217
|
+
"layout": {
|
|
218
|
+
"type": "card",
|
|
219
|
+
"padding": "$spacing.large"
|
|
220
|
+
},
|
|
221
|
+
"items": [
|
|
222
|
+
{
|
|
223
|
+
"type": "text",
|
|
224
|
+
"content": "找出 12 的所有因数。",
|
|
225
|
+
"style": {
|
|
226
|
+
"fontSize": "1.5rem",
|
|
227
|
+
"color": "#1e293b",
|
|
228
|
+
"fontWeight": "bold"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"type": "text",
|
|
233
|
+
"content": "请点击下方网格选择对应的数字:",
|
|
234
|
+
"style": {
|
|
235
|
+
"fontSize": "1rem",
|
|
236
|
+
"color": "#475569"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"type": "hundredGrid",
|
|
241
|
+
"geometryRef": "hundredchart_question",
|
|
242
|
+
"config": {
|
|
243
|
+
"interactive": {
|
|
244
|
+
"mode": "multi-select"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"solve": {
|
|
251
|
+
"layout": {
|
|
252
|
+
"type": "card",
|
|
253
|
+
"padding": "$spacing.large"
|
|
254
|
+
},
|
|
255
|
+
"items": [
|
|
256
|
+
{
|
|
257
|
+
"type": "text",
|
|
258
|
+
"content": "解题思路",
|
|
259
|
+
"style": {
|
|
260
|
+
"fontSize": "1.5rem",
|
|
261
|
+
"color": "#1e293b",
|
|
262
|
+
"fontWeight": "bold"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"type": "text",
|
|
267
|
+
"content": "12 的因数可以通过找出能整除 12 的整数得到。用矩形拼接可以直观理解:",
|
|
268
|
+
"style": {
|
|
269
|
+
"fontSize": "1rem",
|
|
270
|
+
"color": "#475569"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"type": "text",
|
|
275
|
+
"content": "1 × 12 = 12",
|
|
276
|
+
"style": {
|
|
277
|
+
"fontSize": "1.1rem",
|
|
278
|
+
"color": "#4a90e2",
|
|
279
|
+
"fontWeight": "bold"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"type": "hundredGrid",
|
|
284
|
+
"geometryRef": "hundredchart_1x12"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"type": "text",
|
|
288
|
+
"content": "2 × 6 = 12",
|
|
289
|
+
"style": {
|
|
290
|
+
"fontSize": "1.1rem",
|
|
291
|
+
"color": "#4a90e2",
|
|
292
|
+
"fontWeight": "bold"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"type": "hundredGrid",
|
|
297
|
+
"geometryRef": "hundredchart_2x6"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"type": "text",
|
|
301
|
+
"content": "3 × 4 = 12",
|
|
302
|
+
"style": {
|
|
303
|
+
"fontSize": "1.1rem",
|
|
304
|
+
"color": "#4a90e2",
|
|
305
|
+
"fontWeight": "bold"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "hundredGrid",
|
|
310
|
+
"geometryRef": "hundredchart_3x4"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"type": "text",
|
|
314
|
+
"content": "点击查看详细解题步骤 →",
|
|
315
|
+
"style": {
|
|
316
|
+
"fontSize": "1rem",
|
|
317
|
+
"color": "#64748b",
|
|
318
|
+
"textAlign": "center"
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
]
|
|
322
|
+
},
|
|
323
|
+
"success": {
|
|
324
|
+
"layout": {
|
|
325
|
+
"type": "card",
|
|
326
|
+
"padding": "$spacing.large"
|
|
327
|
+
},
|
|
328
|
+
"items": [
|
|
329
|
+
{
|
|
330
|
+
"type": "text",
|
|
331
|
+
"content": "回答正确!",
|
|
332
|
+
"style": {
|
|
333
|
+
"fontSize": "1.5rem",
|
|
334
|
+
"color": "#1e293b",
|
|
335
|
+
"fontWeight": "bold"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"type": "text",
|
|
340
|
+
"content": "太棒了!12 的所有因数就是 1, 2, 3, 4, 6, 12。",
|
|
341
|
+
"style": {
|
|
342
|
+
"fontSize": "1rem",
|
|
343
|
+
"color": "#475569"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"explanation": {
|
|
350
|
+
"steps": [
|
|
351
|
+
{
|
|
352
|
+
"id": "step-1",
|
|
353
|
+
"type": "instructionalStep",
|
|
354
|
+
"title": "从1开始找因数",
|
|
355
|
+
"description": "从1开始寻找12的因数。\n\n1 × 12 = 12,所以1和12都是12的因数。\n\n观察下方的百格图:1排12个,正好表示1×12=12。",
|
|
356
|
+
"chartConfig": {
|
|
357
|
+
"type": "hundredGrid",
|
|
358
|
+
"rows": 1,
|
|
359
|
+
"cols": 12,
|
|
360
|
+
"cellSize": 28,
|
|
361
|
+
"mode": "readonly",
|
|
362
|
+
"value": 12,
|
|
363
|
+
"fillColor": "#4a90e2",
|
|
364
|
+
"baseColor": "#f8fafc"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"id": "step-2",
|
|
369
|
+
"type": "instructionalStep",
|
|
370
|
+
"title": "继续找下一对因数",
|
|
371
|
+
"description": "继续寻找12的因数。\n\n2 × 6 = 12,所以2和6也都是12的因数。\n\n观察下方的百格图:2排,每排6个,正好表示2×6=12。",
|
|
372
|
+
"chartConfig": {
|
|
373
|
+
"type": "hundredGrid",
|
|
374
|
+
"rows": 2,
|
|
375
|
+
"cols": 6,
|
|
376
|
+
"cellSize": 32,
|
|
377
|
+
"mode": "readonly",
|
|
378
|
+
"value": 12,
|
|
379
|
+
"fillColor": "#f0ad4e",
|
|
380
|
+
"baseColor": "#f8fafc"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"id": "step-3",
|
|
385
|
+
"type": "instructionalStep",
|
|
386
|
+
"title": "找到最后一对因数",
|
|
387
|
+
"description": "继续寻找12的因数。\n\n3 × 4 = 12,所以3和4也是12的因数。\n\n观察下方的百格图:3排,每排4个,正好表示3×4=12。\n\n当两个因数接近时(3和4),说明已经找到了所有因数对。",
|
|
388
|
+
"chartConfig": {
|
|
389
|
+
"type": "hundredGrid",
|
|
390
|
+
"rows": 3,
|
|
391
|
+
"cols": 4,
|
|
392
|
+
"cellSize": 32,
|
|
393
|
+
"mode": "readonly",
|
|
394
|
+
"value": 12,
|
|
395
|
+
"fillColor": "#5cb85c",
|
|
396
|
+
"baseColor": "#f8fafc"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
]
|
|
400
|
+
},
|
|
401
|
+
"layout": {
|
|
402
|
+
"type": "card",
|
|
403
|
+
"padding": "$spacing.large",
|
|
404
|
+
"theme": "light",
|
|
405
|
+
"renderer": {
|
|
406
|
+
"showFormulaSteps": true,
|
|
407
|
+
"interactiveAnimations": true,
|
|
408
|
+
"validateAnswers": true
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"answer_info": {
|
|
412
|
+
"value": [1, 2, 3, 4, 6, 12],
|
|
413
|
+
"unit": "",
|
|
414
|
+
"type": "array",
|
|
415
|
+
"tolerance": 0,
|
|
416
|
+
"validation": {
|
|
417
|
+
"type": "exact",
|
|
418
|
+
"allowPartial": false,
|
|
419
|
+
"ignoreOrder": true
|
|
420
|
+
},
|
|
421
|
+
"explanation_text": "12的所有因数是1, 2, 3, 4, 6, 12。因数是指能整除该数的整数。可以通过百格图模型直观理解:12可以表示为1×12、2×6、3×4的矩形排列。",
|
|
422
|
+
"solution_steps": [
|
|
423
|
+
"从最小的整数1开始尝试",
|
|
424
|
+
"1 × 12 = 12,所以1和12都是12的因数",
|
|
425
|
+
"继续尝试2:2 × 6 = 12,所以2和6也是因数",
|
|
426
|
+
"尝试3:3 × 4 = 12,所以3和4也是因数",
|
|
427
|
+
"尝试4:已经找到(3×4),说明因数对开始接近",
|
|
428
|
+
"尝试5:不能整除12,所以5不是因数",
|
|
429
|
+
"尝试6:已经找到(2×6),停止查找"
|
|
430
|
+
],
|
|
431
|
+
"correctFeedback": "太棒了!你正确找出了12的所有因数。",
|
|
432
|
+
"incorrectFeedback": "检查一下是否漏掉了某些因数,或者包含了不能整除12的数字。"
|
|
433
|
+
},
|
|
434
|
+
"created_at": "2026-03-10T00:00:00Z",
|
|
435
|
+
"updated_at": "2026-03-10T00:00:00Z"
|
|
436
|
+
}
|