Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jj_video_practice
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
jj_video_practice
Commits
a97b98b7
Commit
a97b98b7
authored
Dec 16, 2025
by
kingweight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
判断题 支持上传图片和语音
parent
53443d69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
form.component.html
src/app/form/form.component.html
+21
-0
No files found.
src/app/form/form.component.html
View file @
a97b98b7
...
@@ -166,6 +166,27 @@
...
@@ -166,6 +166,27 @@
<!-- 判断题 -->
<!-- 判断题 -->
<div
*
ngIf=
"question.type=='judgment'"
style=
"border: 1px #ccc solid; border-radius: 15px; padding: 15px; background-color: rgb(255, 250, 243);"
>
<div
*
ngIf=
"question.type=='judgment'"
style=
"border: 1px #ccc solid; border-radius: 15px; padding: 15px; background-color: rgb(255, 250, 243);"
>
<div
style=
"margin-bottom: 10px; display: flex; align-items: center;"
>
<div
style=
"width: 300px;"
>
<app-upload-image-with-preview
[
picUrl
]="
question
.
pic_url
"
(
imageUploaded
)="
onItemImgUploadSuccess
($
event
,
question
,
'
pic_url
')"
>
</app-upload-image-with-preview>
</div>
<button
*
ngIf=
"question.pic_url"
style=
"margin-left: 10px;"
nz-button
nzType=
""
(
click
)="
onDeletaImg
(
question
,
'
pic_url
')"
>
x
</button>
</div>
<div
style=
"margin-bottom: 10px; display: flex; align-items: center;"
>
<app-audio-recorder
[
audioUrl
]="
question
.
audio_url
"
(
audioUploaded
)="
onItemAudioUploadSuccess
($
event
,
question
,
'
audio_url
')"
>
</app-audio-recorder>
<button
*
ngIf=
"question.audio_url"
style=
"margin-left: 10px;"
nz-button
nzType=
"danger"
(
click
)="
onDeletaImg
(
question
,
'
audio_url
')"
>
x
</button>
</div>
<div
style=
"margin-top: 5px; display: flex; align-items: center; "
>
<div
style=
"margin-top: 5px; display: flex; align-items: center; "
>
<span
style=
""
>
问题:
</span>
<span
style=
""
>
问题:
</span>
<textarea
nz-input
[(
ngModel
)]="
question
.
text
"
(
blur
)="
save
()"
style=
" width: 300px; min-height: 60px;"
></textarea>
<textarea
nz-input
[(
ngModel
)]="
question
.
text
"
(
blur
)="
save
()"
style=
" width: 300px; min-height: 60px;"
></textarea>
...
...
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