feat: 完成四种字母描红开发
This commit is contained in:
@@ -280,7 +280,7 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
instructionText: '看一看,读一读,再描一描',
|
||||
},
|
||||
generatorConfig: {
|
||||
mode: 'picture-tracing',
|
||||
mode: 'letter-tracing-single',
|
||||
letterCase: 'upper',
|
||||
selectedLetter: 'A',
|
||||
repetitions: 5,
|
||||
@@ -290,9 +290,9 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
),
|
||||
sheet(
|
||||
{
|
||||
id: 'letter-tracing-full',
|
||||
title: '分栏对照',
|
||||
desc: '半组字母左大写右小写,每行四个',
|
||||
id: 'letter-tracing-two-column',
|
||||
title: '两列练习',
|
||||
desc: '左 A–M、右 N–Z,每组包含大小写',
|
||||
category: 'english',
|
||||
page: 'letterTracing',
|
||||
subpackage: 'englishPages',
|
||||
@@ -301,7 +301,7 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
ageRange: [4, 7],
|
||||
difficulty: 'beginner',
|
||||
previewBg: '#e8f4ff',
|
||||
previewText: 'A→Z',
|
||||
previewText: 'A|N',
|
||||
},
|
||||
{
|
||||
subcategory: 'letter-tracing',
|
||||
@@ -310,12 +310,12 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
sortOrder: 43,
|
||||
layoutConfig: {
|
||||
...L.trace,
|
||||
instructionText: '左栏大写、右栏小写,逐行对应描红',
|
||||
columns: 2,
|
||||
instructionText: '左 A–M、右 N–Z,大小写配对描红',
|
||||
},
|
||||
generatorConfig: {
|
||||
mode: 'column-compare',
|
||||
mode: 'letter-tracing-two-column',
|
||||
letterCase: 'both',
|
||||
alphabetHalf: 'A-M',
|
||||
repetitions: 4,
|
||||
fadePattern: 'gradient',
|
||||
},
|
||||
@@ -347,7 +347,7 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
instructionText: '认读全部大写与小写字母',
|
||||
},
|
||||
generatorConfig: {
|
||||
mode: 'overview',
|
||||
mode: 'letter-tracing-upper-lower',
|
||||
letterCase: 'both',
|
||||
repetitions: 1,
|
||||
fadePattern: 'first-only',
|
||||
@@ -356,9 +356,9 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
),
|
||||
sheet(
|
||||
{
|
||||
id: 'letter-tracing-two-column',
|
||||
title: '大小写配对',
|
||||
desc: '左 A–M、右 N–Z,每行四组大小写',
|
||||
id: 'letter-tracing-case-pairing',
|
||||
title: '大小写练习',
|
||||
desc: '半组字母左大写右小写,每行四个',
|
||||
category: 'english',
|
||||
page: 'letterTracing',
|
||||
subpackage: 'englishPages',
|
||||
@@ -367,7 +367,7 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
ageRange: [4, 7],
|
||||
difficulty: 'beginner',
|
||||
previewBg: '#e8f4ff',
|
||||
previewText: 'A|N',
|
||||
previewText: 'A→Z',
|
||||
},
|
||||
{
|
||||
subcategory: 'letter-tracing',
|
||||
@@ -376,12 +376,12 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
sortOrder: 45,
|
||||
layoutConfig: {
|
||||
...L.trace,
|
||||
columns: 2,
|
||||
instructionText: '沿虚线描写字母',
|
||||
instructionText: '左栏大写、右栏小写,逐行对应描红',
|
||||
},
|
||||
generatorConfig: {
|
||||
mode: 'case-pairing',
|
||||
mode: 'letter-tracing-case-pairing',
|
||||
letterCase: 'both',
|
||||
alphabetHalf: 'A-M',
|
||||
repetitions: 4,
|
||||
fadePattern: 'gradient',
|
||||
},
|
||||
@@ -412,7 +412,7 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
instructionText: '每页 3 个字母,逐字精练',
|
||||
},
|
||||
generatorConfig: {
|
||||
mode: 'triple-focus',
|
||||
mode: 'letter-tracing-triple',
|
||||
letterCase: 'both',
|
||||
repetitions: 5,
|
||||
fadePattern: 'gradient',
|
||||
@@ -445,7 +445,7 @@ export const ALL_WORKSHEETS: WorksheetDefinition[] = [
|
||||
instructionText: '每行一个字母,逐字反复练习',
|
||||
},
|
||||
generatorConfig: {
|
||||
mode: 'single-line',
|
||||
mode: 'letter-tracing-single-line',
|
||||
letterCase: 'both',
|
||||
alphabetHalf: 'A-M',
|
||||
repetitions: 5,
|
||||
|
||||
@@ -13,7 +13,7 @@ import drawHeader from './drawHeader';
|
||||
* - 分割线绘制
|
||||
* - 打印配置管理
|
||||
*/
|
||||
const LINE_COLOR = 'rgba(50, 46, 37, 0.4)';
|
||||
const LINE_COLOR = '#BCBAB2'; // 打印友好的深灰线色,避免渐变色
|
||||
const LINE_WIDTH = 3;
|
||||
|
||||
export class BaseDrawService {
|
||||
|
||||
@@ -23,7 +23,7 @@ const META_FONT = '14px "Microsoft Yahei"';
|
||||
const META_FONT_PX = 12;
|
||||
const META_UNDERLINE_GAP = 3;
|
||||
const TITLE_COLOR = '#322E25';
|
||||
const LINE_COLOR = 'rgba(50, 46, 37, 0.4)';
|
||||
const LINE_COLOR = '#BCBAB2';
|
||||
const LINE_WIDTH = 3;
|
||||
const META_COLOR = '#7C766A';
|
||||
const META_ROW_MARGIN_X = 130;
|
||||
|
||||
Reference in New Issue
Block a user