feat: 更新英语描红icon
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -5,6 +5,69 @@
|
|||||||
"css_prefix_text": "icon-",
|
"css_prefix_text": "icon-",
|
||||||
"description": "",
|
"description": "",
|
||||||
"glyphs": [
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "47400915",
|
||||||
|
"name": "keyboard-arrow-up",
|
||||||
|
"font_class": "keyboard-arrow-up",
|
||||||
|
"unicode": "e62b",
|
||||||
|
"unicode_decimal": 58923
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "47399975",
|
||||||
|
"name": "start-a",
|
||||||
|
"font_class": "start-a",
|
||||||
|
"unicode": "e623",
|
||||||
|
"unicode_decimal": 58915
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "47399971",
|
||||||
|
"name": "draw-o",
|
||||||
|
"font_class": "draw-o",
|
||||||
|
"unicode": "e624",
|
||||||
|
"unicode_decimal": 58916
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "47399974",
|
||||||
|
"name": "ABC-list",
|
||||||
|
"font_class": "ABC-list",
|
||||||
|
"unicode": "e625",
|
||||||
|
"unicode_decimal": 58917
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "47399973",
|
||||||
|
"name": "font-size",
|
||||||
|
"font_class": "font-size",
|
||||||
|
"unicode": "e626",
|
||||||
|
"unicode_decimal": 58918
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "47399972",
|
||||||
|
"name": "two-columns",
|
||||||
|
"font_class": "two-columns",
|
||||||
|
"unicode": "e627",
|
||||||
|
"unicode_decimal": 58919
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "47399970",
|
||||||
|
"name": "back-rounde",
|
||||||
|
"font_class": "back-rounde",
|
||||||
|
"unicode": "e628",
|
||||||
|
"unicode_decimal": 58920
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "47399967",
|
||||||
|
"name": "keyboard-arrow-down",
|
||||||
|
"font_class": "keyboard-arrow-down",
|
||||||
|
"unicode": "e629",
|
||||||
|
"unicode_decimal": 58921
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "47399969",
|
||||||
|
"name": "square-half",
|
||||||
|
"font_class": "square-half",
|
||||||
|
"unicode": "e62a",
|
||||||
|
"unicode_decimal": 58922
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"icon_id": "47291112",
|
"icon_id": "47291112",
|
||||||
"name": "home-o",
|
"name": "home-o",
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -98,7 +98,8 @@ page {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 16rpx;
|
// gap: 16rpx;
|
||||||
|
gap: 12rpx;
|
||||||
padding: 32rpx 24rpx;
|
padding: 32rpx 24rpx;
|
||||||
border-radius: 24rpx;
|
border-radius: 24rpx;
|
||||||
background: #f8f0e0;
|
background: #f8f0e0;
|
||||||
@@ -257,7 +258,7 @@ page {
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 20rpx 24rpx;
|
padding: 24rpx 24rpx;
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
line-height: 40rpx;
|
line-height: 40rpx;
|
||||||
|
|||||||
@@ -21,32 +21,38 @@ import { loadLetterFont } from '../shared/draw/drawTools';
|
|||||||
const MODES = [
|
const MODES = [
|
||||||
{
|
{
|
||||||
id: 'letter-tracing-single',
|
id: 'letter-tracing-single',
|
||||||
|
icon: 'start-a',
|
||||||
label: '默认字帖',
|
label: '默认字帖',
|
||||||
desc: '配图、例句与描红',
|
desc: '配图、例句与描红',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'letter-tracing-upper-lower',
|
id: 'letter-tracing-upper-lower',
|
||||||
|
icon: 'draw-o',
|
||||||
// label: '字母总览',
|
// label: '字母总览',
|
||||||
label: '基础描红',
|
label: '基础描红',
|
||||||
desc: 'Uppercase / Lowercase 总览',
|
desc: 'Uppercase / Lowercase 总览',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'letter-tracing-case-pairing',
|
id: 'letter-tracing-case-pairing',
|
||||||
|
icon: 'font-size',
|
||||||
label: '大小写对照',
|
label: '大小写对照',
|
||||||
desc: '半组字母左大写右小写',
|
desc: '半组字母左大写右小写',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'letter-tracing-two-column',
|
id: 'letter-tracing-two-column',
|
||||||
|
icon: 'two-columns',
|
||||||
label: '两列描红',
|
label: '两列描红',
|
||||||
desc: '左 A–M、右 N–Z 配对描红',
|
desc: '左 A–M、右 N–Z 配对描红',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'letter-tracing-single-line',
|
id: 'letter-tracing-single-line',
|
||||||
|
icon: 'square-half',
|
||||||
label: '13字母半表',
|
label: '13字母半表',
|
||||||
desc: '每行一个字母,13 字母半表',
|
desc: '每行一个字母,13 字母半表',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'letter-tracing-triple',
|
id: 'letter-tracing-triple',
|
||||||
|
icon: 'ABC-list',
|
||||||
label: '三字母精练',
|
label: '三字母精练',
|
||||||
desc: '每页聚焦 3 个字母深度书写',
|
desc: '每页聚焦 3 个字母深度书写',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,8 +29,8 @@
|
|||||||
hover-stay-time="70"
|
hover-stay-time="70"
|
||||||
bindtap="onSelectMode">
|
bindtap="onSelectMode">
|
||||||
<toy-icon
|
<toy-icon
|
||||||
name="moon"
|
name="{{item.icon}}"
|
||||||
size="56rpx"
|
size="42rpx"
|
||||||
color="{{worksheetId === item.id ? '#453900' : '#605b50'}}"
|
color="{{worksheetId === item.id ? '#453900' : '#605b50'}}"
|
||||||
custom-class="lt-mode-card__icon" />
|
custom-class="lt-mode-card__icon" />
|
||||||
<text class="lt-mode-card__label">{{item.label}}</text>
|
<text class="lt-mode-card__label">{{item.label}}</text>
|
||||||
|
|||||||
@@ -25,13 +25,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 内层 text 承载 ::before 字形,固定 1em 方盒便于与 flex 行内文案垂直对齐 */
|
/* 内层 text 承载 ::before 字形,固定 1em 方盒便于与 flex 行内文案垂直对齐 */
|
||||||
> text {
|
>text {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
font-size: inherit;
|
||||||
width: 1em;
|
width: 1em;
|
||||||
height: 1em;
|
height: 1em;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user