Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM4-10
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
YM4-10
Commits
eb739375
Commit
eb739375
authored
Oct 13, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复表单页面不兼容问题
parent
35300e0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
105 additions
and
110 deletions
+105
-110
form.component.html
src/app/form/form.component.html
+105
-110
No files found.
src/app/form/form.component.html
View file @
eb739375
...
...
@@ -174,15 +174,11 @@
<div
nz-row
>
<div
nz-col
[
nzSpan
]="
20
"
nzOffset=
"2"
>
<nz-card
nzTitle=
"内容"
>
<nz-tabset>
<nz-tab
nzTitle=
"内容-{{j+1}}"
*
ngFor=
"let data of item.exercisesArr;let j = index"
>
<nz-card
nzTitle=
"内容-{{j+1}}"
*
ngFor=
"let data of item.exercisesArr;let j = index"
>
<nz-form-item>
<nz-form-label
[
nzSpan
]="
6
"
nzFor=
"answerIndex"
>
答案顺序
</nz-form-label>
<nz-form-control
[
nzSpan
]="
6
"
>
<nz-input-number
[
nzMin
]="
1
"
[
nzMax
]='
8
'
[(
ngModel
)]="
data
.
answerIndex
"
(
ngModelChange
)="
saveIndex
(
data
)"
>
<nz-input-number
[
nzMin
]="
1
"
[
nzMax
]='
8
'
[(
ngModel
)]="
data
.
answerIndex
"
(
ngModelChange
)="
saveIndex
(
data
)"
>
</nz-input-number>
</nz-form-control>
</nz-form-item>
...
...
@@ -228,8 +224,7 @@
<nz-form-item>
<nz-form-label
[
nzSpan
]="
6
"
>
单词拆分
</nz-form-label>
<nz-form-control
[
nzSpan
]="
6
"
>
<button
nz-button
nzType=
"dashed"
class=
"add-btn"
id=
"add-btn"
(
click
)="
addLetter
(
word
,
'
letterArr
')"
>
<button
nz-button
nzType=
"dashed"
class=
"add-btn"
id=
"add-btn"
(
click
)="
addLetter
(
word
,
'
letterArr
')"
>
<i
nz-icon
nzType=
"plus-circle"
nzTheme=
"outline"
></i>
添加
</button>
</nz-form-control>
...
...
@@ -285,9 +280,9 @@
</nz-card>
</div>
</nz-tab>
</nz-card>
</nz-tabset>
</nz-card>
</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