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
a2b6b8bc
Commit
a2b6b8bc
authored
Dec 24, 2025
by
kingweight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样式
parent
e3c67a72
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
form.component.html
src/app/form/form.component.html
+13
-5
No files found.
src/app/form/form.component.html
View file @
a2b6b8bc
...
...
@@ -9,17 +9,25 @@
<div
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"width: 150px;"
>
单元名称:
</h3>
<textarea
nz-input
[(
ngModel
)]="
item
.
title
"
(
blur
)="
save
()"
style=
" width: 4
00
px; min-height: 60px;"
></textarea>
<textarea
nz-input
[(
ngModel
)]="
item
.
title
"
(
blur
)="
save
()"
style=
" width: 4
36
px; min-height: 60px;"
></textarea>
</div>
<div
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"min-width: 150px;"
>
视频互动课名称:
</h3>
<textarea
nz-input
[(
ngModel
)]="
item
.
video_title
"
(
blur
)="
save
()"
style=
" width: 4
00
px; min-height: 60px;"
></textarea>
<textarea
nz-input
[(
ngModel
)]="
item
.
video_title
"
(
blur
)="
save
()"
style=
" width: 4
36
px; min-height: 60px;"
></textarea>
</div>
<br>
<div
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"min-width: 150px;"
>
上传视频封面:
</h3>
<app-upload-image-with-preview
style=
"width: 80%;"
[
picUrl
]="
item
.
cover
"
(
imageUploaded
)="
onImageUploadSuccess
($
event
)"
>
</app-upload-image-with-preview>
<app-upload-video
[
videoUrl
]="
item
.
video_url
.
replace
('.
mp4
',
'
_h
.
mp4
')"
[
showUploadBtn
]="
true
"
(
videoUploaded
)="
onVideoUploaded
($
event
)"
(
onCapture
)="
handleOnCapture
($
event
)"
(
parentRef
)="
onParentRef
($
event
)"
></app-upload-video>
</div>
<div
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"min-width: 150px;"
>
上传视频:
</h3>
<app-upload-video
style=
"width: 80%;"
[
videoUrl
]="
item
.
video_url
.
replace
('.
mp4
',
'
_h
.
mp4
')"
[
showUploadBtn
]="
true
"
(
videoUploaded
)="
onVideoUploaded
($
event
)"
(
onCapture
)="
handleOnCapture
($
event
)"
(
parentRef
)="
onParentRef
($
event
)"
></app-upload-video>
</div>
<!-- <div style="padding: 5px 0;" align='center'>
<h3>视频地址</h3>
<input type="text" nz-input [(ngModel)]="item.video_url" disabled (blur)="save()">
...
...
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