Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
forms_for_developers
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
forms_for_developers
Commits
cc97239b
Commit
cc97239b
authored
Mar 08, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
parent
53bfe6b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
form.component.html
form_angular/src/app/form/form.component.html
+7
-0
form.component.ts
form_angular/src/app/form/form.component.ts
+2
-0
No files found.
form_angular/src/app/form/form.component.html
View file @
cc97239b
...
@@ -19,6 +19,13 @@
...
@@ -19,6 +19,13 @@
<span
style=
"font-size: 20px;"
>
第{{i + 1}}题:
</span>
<span
style=
"font-size: 20px;"
>
第{{i + 1}}题:
</span>
<br>
<br>
<input
type=
"text"
style=
"width: 200px;"
nz-input
[(
ngModel
)]="
question
.
text
"
(
blur
)="
save
()"
>
<input
type=
"text"
style=
"width: 200px;"
nz-input
[(
ngModel
)]="
question
.
text
"
(
blur
)="
save
()"
>
<br>
<span
style=
"font-size: 20px;"
>
正确的字母:
</span>
<input
type=
"text"
style=
"width: 200px;"
nz-input
[(
ngModel
)]="
question
.
rightLetter
"
(
blur
)="
save
()"
>
<br>
<span
style=
"font-size: 20px;"
>
错误的字母:
</span>
<input
type=
"text"
style=
"width: 200px;"
nz-input
[(
ngModel
)]="
question
.
wrongLetter
"
(
blur
)="
save
()"
>
<app-audio-recorder
[
audioUrl
]="
question
.
audio
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
question
)"
>
<app-audio-recorder
[
audioUrl
]="
question
.
audio
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
question
)"
>
</app-audio-recorder>
</app-audio-recorder>
<app-upload-dragon-bone
[
btnName
]="[['配置骨骼动画']]"
[
animaNames
]="[[['
normal
']]]"
<app-upload-dragon-bone
[
btnName
]="[['配置骨骼动画']]"
[
animaNames
]="[[['
normal
']]]"
...
...
form_angular/src/app/form/form.component.ts
View file @
cc97239b
...
@@ -79,6 +79,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
...
@@ -79,6 +79,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
addQuestion
()
{
addQuestion
()
{
this
.
item
.
questions
.
push
({
this
.
item
.
questions
.
push
({
text
:
""
,
text
:
""
,
rightLetter
:
""
,
wrongLetter
:
""
,
audio
:
""
,
audio
:
""
,
choosewaitTime
:
5
,
choosewaitTime
:
5
,
testWaitTime
:
3
,
testWaitTime
:
3
,
...
...
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