Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM_L5_26
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
YM_L5_26
Commits
5e71f774
Commit
5e71f774
authored
Jun 25, 2021
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: bugs
parent
d2859736
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
form.component.html
src/app/form/form.component.html
+14
-10
No files found.
src/app/form/form.component.html
View file @
5e71f774
...
...
@@ -63,7 +63,10 @@
<span
style=
"float: left; height: 30px; font-size: 18px;"
>
单词:
</span>
<input
style=
"float: left; width: 150px;"
type=
"text"
nz-input
[(
ngModel
)]="
line
.
word
"
(
blur
)="
onWordTyped
(
i
,
j
)"
>
<br>
<span
style=
"float: left; height: 30px; font-size: 14px; margin-left: 35px; color: grey;"
>
(点击字母设置颜色等详细信息)
</span>
<br><br>
<div
style=
"float: left; margin-left: 20px;"
>
</div>
<div
*
ngFor=
"let group of line.groups; let g = index"
style=
"float: left; border-style: dotted; border-width: 1px; border-color: black;"
>
...
...
@@ -94,17 +97,17 @@
<span
style=
"float: none;"
>
</span>
<div>
<span
*
ngIf=
"letterData.showOptions"
>
<button
style=
"float: left; color: black;"
(
click
)="
changeLetterBlack
(
i
,
j
,
k
)"
>
黑色
</button>
<button
style=
"float: left; color: red;"
(
click
)="
changeLetterRed
(
i
,
j
,
k
)"
>
红色
</button>
<button
style=
"float: left; color: grey;"
(
click
)="
changeLetterGrey
(
i
,
j
,
k
)"
>
灰色
</button>
<button
style=
"float: left;
width: 52.7px;
color: black;"
(
click
)="
changeLetterBlack
(
i
,
j
,
k
)"
>
黑色
</button>
<button
style=
"float: left;
width: 52.7px;
color: red;"
(
click
)="
changeLetterRed
(
i
,
j
,
k
)"
>
红色
</button>
<button
style=
"float: left;
width: 52.7px;
color: grey;"
(
click
)="
changeLetterGrey
(
i
,
j
,
k
)"
>
灰色
</button>
<br>
<button
style=
"float: left; "
(
click
)="
changeLetterLine
(
i
,
j
,
k
)"
>
下划线
</button>
<button
style=
"float: left; "
(
click
)="
changeLetterLineNumber
(
i
,
j
,
k
,
1
)"
>
1
</button>
<button
style=
"float: left; "
(
click
)="
changeLetterLineNumber
(
i
,
j
,
k
,
2
)"
>
2
</button>
<button
style=
"float: left; "
(
click
)="
changeLetterLineNumber
(
i
,
j
,
k
,
3
)"
>
3
</button>
<button
style=
"float: left;
width: 33.3px;
"
(
click
)="
changeLetterLineNumber
(
i
,
j
,
k
,
1
)"
>
1
</button>
<button
style=
"float: left;
width: 33.3px;
"
(
click
)="
changeLetterLineNumber
(
i
,
j
,
k
,
2
)"
>
2
</button>
<button
style=
"float: left;
width: 33.3px;
"
(
click
)="
changeLetterLineNumber
(
i
,
j
,
k
,
3
)"
>
3
</button>
<br>
<button
style=
"float: left; "
(
click
)="
changeLetterPoint
(
i
,
j
,
k
)"
>
重音
</button>
<button
style=
"float: left; "
(
click
)="
changeLetterGroup
(
i
,
j
,
k
)"
>
分组
</button>
<button
style=
"float: left; "
(
click
)="
changeLetterPoint
(
i
,
j
,
k
)"
>
添加重音符
</button>
<button
style=
"float: left; "
(
click
)="
changeLetterGroup
(
i
,
j
,
k
)"
>
设置分隔
</button>
</span>
</div>
</div>
...
...
@@ -113,11 +116,12 @@
<span
style=
"float: none;"
>
</span>
</div>
</div>
<button
style=
"width: 660px; height: 50px; margin: 20px;"
nz-button
nzType=
"dashed"
class=
"add-btn"
<button
*
ngIf=
"group.length < 3"
style=
"width: 660px; height: 50px; margin: 20px;"
nz-button
nzType=
"dashed"
class=
"add-btn"
(
click
)="
createLine
(
i
)"
>
Add Word
</button>
<button
*
ngIf=
"group.length >= 3"
style=
"opacity: 0;"
>
</button>
<span
style=
"float: none;"
>
</span>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment