Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dg10_ty
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
dg10_ty
Commits
18513d7d
Commit
18513d7d
authored
Nov 03, 2023
by
Tt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改表单
parent
ebe05d12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
form.component.html
form/src/app/form/form.component.html
+13
-0
form.component.ts
form/src/app/form/form.component.ts
+2
-0
No files found.
form/src/app/form/form.component.html
View file @
18513d7d
...
@@ -80,6 +80,19 @@
...
@@ -80,6 +80,19 @@
<input
type=
"text"
nz-input
[(
ngModel
)]="
item
.
title
"
(
blur
)="
save
()"
>
<input
type=
"text"
nz-input
[(
ngModel
)]="
item
.
title
"
(
blur
)="
save
()"
>
<span
style=
"font-size: 20px;"
>
开始音频:
</span>
<div
style=
"display:flex ;"
>
<div>
<app-audio-recorder
[
audioUrl
]="
item
.
npcAudio
"
(
audioUploaded
)="
onAudioUploadSuccess
($
event
,
'
npcAudio
',
item
,'
npcAudioName
')"
>
</app-audio-recorder>
</div>
<div
style=
"margin: 5px"
>
<span>
{{ item.npcAudioName}}
</span>
</div>
</div>
<span
style=
"font-size: 20px;"
>
结束按钮文字:
</span>
<span
style=
"font-size: 20px;"
>
结束按钮文字:
</span>
<input
type=
"text"
nz-input
[(
ngModel
)]="
item
.
npcAudioText
"
(
blur
)="
save
()"
>
<input
type=
"text"
nz-input
[(
ngModel
)]="
item
.
npcAudioText
"
(
blur
)="
save
()"
>
...
...
form/src/app/form/form.component.ts
View file @
18513d7d
...
@@ -17,6 +17,8 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
...
@@ -17,6 +17,8 @@ export class FormComponent extends ComponentBase implements OnInit, OnChanges, O
title
:
'
听音选择
'
,
title
:
'
听音选择
'
,
questions
:
[],
questions
:
[],
npcAudioText
:
""
,
npcAudioText
:
""
,
npcAudio
:
""
,
npcAudioName
:
""
,
npcAudioEnd
:
""
,
npcAudioEnd
:
""
,
npcAudioEndName
:
""
,
npcAudioEndName
:
""
,
};
};
...
...
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