Commit 18513d7d authored by Tt's avatar Tt

修改表单

parent ebe05d12
...@@ -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()">
......
...@@ -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: "",
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment