Commit a2b6b8bc authored by kingweight's avatar kingweight

优化样式

parent e3c67a72
...@@ -9,17 +9,25 @@ ...@@ -9,17 +9,25 @@
<div style="margin: 20px; display: flex; align-items: center; "> <div style="margin: 20px; display: flex; align-items: center; ">
<h3 style="width: 150px;">单元名称:</h3> <h3 style="width: 150px;">单元名称:</h3>
<textarea nz-input [(ngModel)]="item.title" (blur)="save()" style=" width: 400px; min-height: 60px;"></textarea> <textarea nz-input [(ngModel)]="item.title" (blur)="save()" style=" width: 436px; min-height: 60px;"></textarea>
</div> </div>
<div style="margin: 20px; display: flex; align-items: center; "> <div style="margin: 20px; display: flex; align-items: center; ">
<h3 style="min-width: 150px;">视频互动课名称:</h3> <h3 style="min-width: 150px;">视频互动课名称:</h3>
<textarea nz-input [(ngModel)]="item.video_title" (blur)="save()" style=" width: 400px; min-height: 60px;"></textarea> <textarea nz-input [(ngModel)]="item.video_title" (blur)="save()" style=" width: 436px; min-height: 60px;"></textarea>
</div> </div>
<br> <br>
<app-upload-image-with-preview style="width: 80%;" [picUrl]="item.cover" (imageUploaded)="onImageUploadSuccess($event)"> <div style="margin: 20px; display: flex; align-items: center; ">
</app-upload-image-with-preview> <h3 style="min-width: 150px;">上传视频封面:</h3>
<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> <app-upload-image-with-preview style="width: 80%;" [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;">上传视频:</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'> <!-- <div style="padding: 5px 0;" align='center'>
<h3>视频地址</h3> <h3>视频地址</h3>
<input type="text" nz-input [(ngModel)]="item.video_url" disabled (blur)="save()"> <input type="text" nz-input [(ngModel)]="item.video_url" disabled (blur)="save()">
......
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