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
f4153f61
Commit
f4153f61
authored
Dec 24, 2025
by
kingweight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样式
parent
a2b6b8bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
26 deletions
+29
-26
form.component.html
src/app/form/form.component.html
+29
-26
No files found.
src/app/form/form.component.html
View file @
f4153f61
...
...
@@ -3,35 +3,38 @@
<div
class=
"model-content"
>
<div
style=
"width: 100%; display: inline-flex;flex-direction: row;flex-wrap: wrap;"
>
<div
style=
"width: 50% ; margin-left: 2.5%; min-width: 300px; max-width: 650px; margin-top: 20px;border: 2px dashed;padding: 20px 10px 5px 10px;"
align=
'center'
>
<div
style=
"width: 100px; background-color: white; transform: translateY(-30px);"
>
视频互动课信息
</div>
<div
style=
"margin:30px; border: 2px #ccc solid; border-radius: 15px; width: 1000px; padding: 20px 10px 5px 10px; display: flex; justify-content: center;"
>
<div
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"width: 150px;"
>
单元名称:
</h3>
<textarea
nz-input
[(
ngModel
)]="
item
.
title
"
(
blur
)="
save
()"
style=
" width: 436px; 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: 436px; 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>
</div>
<div
>
<div
style=
"width: 100px; background-color: white; transform: translateY(-30px);"
>
</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
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"width: 150px; text-align:left"
>
单元名称:
</h3>
<textarea
nz-input
[(
ngModel
)]="
item
.
title
"
(
blur
)="
save
()"
style=
" width: 640px; min-height: 60px;"
></textarea>
</div>
<div
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"min-width: 150px; text-align:left"
>
视频互动课名称:
</h3>
<textarea
nz-input
[(
ngModel
)]="
item
.
video_title
"
(
blur
)="
save
()"
style=
" width: 640px; min-height: 60px;"
></textarea>
</div>
<br>
<div
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"min-width: 150px; text-align:left"
>
上传视频封面:
</h3>
<app-upload-image-with-preview
style=
"width: 80%; max-width: 640px;"
[
picUrl
]="
item
.
cover
"
(
imageUploaded
)="
onImageUploadSuccess
($
event
)"
>
</app-upload-image-with-preview>
</div>
<div
style=
"margin: 20px; display: flex; align-items: center; "
>
<h3
style=
"min-width: 150px; text-align:left"
>
上传视频:
</h3>
<app-upload-video
style=
"width: 80%; max-width: 640px;"
[
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()">
</div> -->
</div>
<!-- <div style="padding: 5px 0;" align='center'>
<h3>视频地址</h3>
<input type="text" nz-input [(ngModel)]="item.video_url" disabled (blur)="save()">
</div> -->
</div>
</div>
</div>
...
...
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