feat: worksheet发布功能开发

This commit is contained in:
R524809
2026-04-24 17:49:11 +08:00
parent 5106dbbd7c
commit bb69d5c49d
24 changed files with 2540 additions and 1014 deletions
+217 -5
View File
@@ -1,5 +1,217 @@
/**
* 桥接文件 - 保持向后兼容
* 实际数据已迁移到 core/data/worksheets.ts
*/
export { MATH_FUNCTION_TYPES, type MathFunctionType } from '../core/data/worksheets';
export interface MathFunctionType {
id: string;
page?: string;
title: string;
desc: string;
icon?: string;
img?: string;
}
export const MATH_FUNCTION_TYPES: MathFunctionType[] = [
{
id: 'number-find',
page: 'mathDraw',
title: '找数字,涂一涂',
desc: '在数字方阵中找出目标数字并涂色',
img: '/assets/mathEntrance/number-find.png',
},
{
id: 'number-write',
page: 'mathDraw',
title: '看数字,写一写',
desc: '按笔画顺序练习书写数字',
img: '/assets/mathEntrance/number-write.png',
},
{
id: 'number-coloring',
page: 'mathDraw',
title: '按数字,涂颜色',
desc: '按指定数字给对应圆圈涂色',
icon: '🎨',
img: '/assets/mathEntrance/number-coloring.png',
},
{
id: 'counting-matching',
page: 'mathDraw',
title: '数一数,连一连',
desc: '连线配对数字和对应数量图形',
icon: '🔗',
img: '/assets/mathEntrance/count-match.png',
},
{
id: 'number-object-match',
page: 'mathDraw',
title: '数物连线',
desc: '连线相同数量的物品和数字',
icon: '🔗',
img: '/assets/mathEntrance/number-object-match.png',
},
{
id: 'number-object-fill',
page: 'mathDraw',
title: '数物填写',
desc: '数物品数量,填写对应数字',
icon: '✏️',
img: '/assets/mathEntrance/number-object-fill.png',
},
{
id: 'counting-select',
page: 'mathDraw',
title: '数一数,选一选',
desc: '数出物品数量,圈出正确答案',
icon: '✓',
img: '/assets/mathEntrance/counting-select.png',
},
{
id: 'counting-fill',
page: 'mathDraw',
title: '数一数,填一填',
desc: '数出物品数量,填写数字',
icon: '✏️',
img: '/assets/mathEntrance/counting-fill.png',
},
{
id: 'compare',
page: 'mathDraw',
title: '数一数,比大小',
desc: '比较数量,填入 ><=',
icon: '⚖️',
img: '/assets/mathEntrance/compare.png',
},
{
id: 'number-sort',
page: 'mathDraw',
title: '数字排序',
desc: '写出正确的数字顺序',
icon: '🔢',
img: '/assets/mathEntrance/number-sort.png',
},
{
id: 'missing-number',
page: 'mathDraw',
title: '填上缺少的数字',
desc: '在数列中找出并填写缺失数字',
icon: '❓',
img: '/assets/mathEntrance/missing-number.png',
},
{
id: 'number-decompose',
page: 'mathDraw',
title: '10以内数的分与合',
desc: '把数字分一分,合一合',
icon: '🔢',
img: '/assets/mathEntrance/number-decompose.png',
},
{
id: 'number-decompose-20',
page: 'mathDraw',
title: '20以内数的分与合',
desc: '把数字分一分,合一合',
icon: '🔢',
img: '/assets/mathEntrance/number-decompose-20.png',
},
{
id: 'one-digit-addition',
page: 'mathDraw',
title: '一位数加法',
desc: '通过圆点学习一位数加法运算',
icon: '',
img: '/assets/mathEntrance/one-digit-addition.png',
},
{
id: 'addition-5',
page: 'mathDraw',
title: '5以内加法',
desc: '图形化展示 5 以内加法',
icon: '',
img: '/assets/mathEntrance/addition-5.png',
},
{
id: 'addition-10',
page: 'mathDraw',
title: '10以内加法',
desc: '图形化展示 10 以内加法',
icon: '',
img: '/assets/mathEntrance/addition-10.png',
},
{
id: 'subtraction-10',
page: 'mathDraw',
title: '10以内减法',
desc: '图形化展示 10 以内减法',
icon: '',
img: '/assets/mathEntrance/subtraction-10.png',
},
{
id: 'addition-subtraction-10',
page: 'mathDraw',
title: '10以内加减法',
desc: '加减法混合运算',
icon: '±',
img: '/assets/mathEntrance/addition-subtraction-10.png',
},
{
id: 'make-ten',
page: 'mathDraw',
title: '凑十法练习',
desc: '20 以内进位加法',
icon: '',
img: '/assets/mathEntrance/make-ten.png',
},
{
id: 'break-ten',
page: 'mathDraw',
title: '破十法练习',
desc: '20 以内退位减法',
icon: '',
img: '/assets/mathEntrance/break-ten.png',
},
{
id: 'flat-ten',
page: 'mathDraw',
title: '平十法练习',
desc: '20 以内退位减法',
icon: '',
img: '/assets/mathEntrance/flat-ten.png',
},
{
id: 'borrow-ten',
page: 'mathDraw',
title: '借十法练习',
desc: '20 以上退位减法',
icon: '',
img: '/assets/mathEntrance/borrow-ten.png',
},
{
id: 'practice-addition',
page: 'mathDraw',
title: '加法运算',
desc: '10/20/50/100 以内加法',
icon: '',
img: '/assets/mathEntrance/practice-addition.png',
},
{
id: 'practice-subtraction',
page: 'mathDraw',
title: '减法运算',
desc: '10/20/50/100 以内减法',
icon: '',
img: '/assets/mathEntrance/practice-subtraction.png',
},
{
id: 'practice-mixed',
page: 'mathDraw',
title: '混合运算',
desc: '10/20/50/100 以内加减法混合',
icon: '±',
img: '/assets/mathEntrance/practice-mixed.png',
},
{
id: 'multiplication-table',
page: 'mathDraw',
title: '九九乘法表',
desc: '学习九九乘法口诀',
icon: '✖️',
img: '/assets/mathEntrance/multiplication-table.png',
},
];