feat:2.6.2 增加数字点连线、数物填写等涂色卡

This commit is contained in:
R524809
2025-12-24 14:51:17 +08:00
parent 20496c3cc8
commit 58423eb31a
16 changed files with 610 additions and 18 deletions
@@ -88,7 +88,7 @@ createFocusPage({
const selectedShape = selectedShapes[groupIndex];
// 每一行独立选择2种或3种颜色
const colorCount = Math.random() < 0.5 ? 2 : 3; // 随机选择2种或3种
const colorCount = 2;
const shuffledColors = [...allColors].sort(
() => Math.random() - 0.5,
);