Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
ym-23
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-23
Commits
c4f68981
Commit
c4f68981
authored
Jun 08, 2020
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改表单样式
parent
54c7c94b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
form.component.html
src/app/form/form.component.html
+10
-11
No files found.
src/app/form/form.component.html
View file @
c4f68981
...
...
@@ -17,6 +17,8 @@
</app-audio-recorder>
</nz-form-control>
<div
style=
"margin-top: 100px"
></div>
<nz-divider
nzText=
"总音频"
nzOrientation=
"left"
></nz-divider>
<nz-form-control
[
nzSpan
]="
6
"
>
<app-audio-recorder
id=
"item.title.allmusic_audio"
[
audioUrl
]="
item
.
title
.
allmusic_audio
"
...
...
@@ -24,10 +26,7 @@
</app-audio-recorder>
</nz-form-control>
<div
style=
"margin-top: 120px"
></div>
<div>
<nz-divider
nzText=
"句子"
nzOrientation=
"left"
></nz-divider>
...
...
@@ -35,7 +34,7 @@
<nz-form-control
[
nzSpan
]="
20
"
nzOffset=
"2"
>
<div
*
ngFor=
"let it of wordArr; let i = index"
class=
"card-item"
style=
"padding: 0.5vw;"
>
<div
class=
"border"
>
<h5
style=
"width: 100%; line-height: 40px; text-align: center;"
>
句组-{{i+1}}
</h5>
<h5
style=
"width: 100%; line-height: 40px; text-align: center;"
>
句组-{{i+1}}
</h5>
<div
nz-form
>
<nz-form-item>
<nz-radio-group
[(
ngModel
)]="
it
.
left
.
num
"
(
ngModelChange
)="
save
()"
>
...
...
@@ -50,7 +49,7 @@
<div
*
ngIf=
"it.num== 'N'"
style=
"width: 80%"
>
<br>
</div>
<nz-form-label
[
nzSpan
]="
3
"
nzFor=
"it.left.word_val"
>
句子
</nz-form-label>
<nz-form-control
[
nzSpan
]="
20
"
>
<input
type=
"text"
nz-input
placeholder=
"请录入句子"
[(
ngModel
)]="
it
.
left
.
word_val
"
...
...
@@ -77,14 +76,14 @@
<thead>
<tr>
<th>
单词
</th>
<th>
颜色
</th>
</tr>
</thead>
<tbody>
<tr
*
ngFor=
"let data of it.left.letters;let j = index"
>
<td>
{{data.letter_val}}
</td>
<td>
<nz-select
[(
ngModel
)]="
data
.
letter_color
"
(
ngModelChange
)="
saveItem
()"
>
<!--<nz-option nzValue="C01" nzLabel="绿色"></nz-option>-->
...
...
@@ -93,13 +92,13 @@
<nz-option
nzValue=
"C04"
nzLabel=
"黑色"
></nz-option>
</nz-select>
</td>
</tr>
</tbody>
</nz-table>
</div>
</nz-form-item>
</div>
</div>
<button
style=
"margin: 10px;"
nz-button
nzType=
"danger"
(
click
)="
deleteItem
(
i
)"
>
<span>
删除
</span>
</button>
...
...
@@ -116,4 +115,4 @@
</nz-form-item>
</div>
</div>
</div>
\ No newline at end of file
</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