-
Notifications
You must be signed in to change notification settings - Fork 195
Expand file tree
/
Copy pathmp4.component.html
More file actions
62 lines (60 loc) · 1.95 KB
/
Copy pathmp4.component.html
File metadata and controls
62 lines (60 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<div class="replay-container">
<!-- 信息头部 -->
@if (!type) {
<div class="info-header">
<div class="info-item" *ngIf="replay.user">
<span class="label">{{ 'user' | translate }}:</span>
<span class="value">{{ replay.user }}</span>
</div>
<div class="info-item" *ngIf="replay.asset">
<span class="label">{{ 'asset' | translate }}:</span>
<span class="value">{{ replay.asset }}</span>
</div>
<div class="info-item" *ngIf="replay.system_user">
<span class="label">{{ 'system user' | translate }}:</span>
<span class="value">{{ replay.system_user }}</span>
</div>
<div class="info-item" *ngIf="replay.date_start">
<span class="label">{{ 'start time' | translate }}:</span>
<span class="value">{{ startTime }}</span>
</div>
<div class="info-actions">
<a *ngIf="replay.download_url" [href]="replay.download_url" class="download-link">
{{ 'download' | translate }}
</a>
</div>
</div>
}
<div class="main-content">
<!-- 视频播放区 -->
<div class="video-area">
<video controls>
<source [src]="replay.src" type="video/mp4" />
</video>
</div>
<!-- 命令列表 -->
<div class="commands-area" *ngIf="commands.length > 0">
<div class="commands-header">
<span>{{ 'Commands' | translate }} ({{ commands.length }})</span>
</div>
<div
class="commands-list"
infiniteScroll
[infiniteScrollDistance]="2"
[infiniteScrollThrottle]="50"
(scrolled)="onScroll()"
[scrollWindow]="false"
>
<div
class="command-item"
*ngFor="let item of commands"
(click)="commandClick(item)"
[title]="item.input"
>
<div class="command-text">{{ item.input }}</div>
<div class="command-time">{{ item.atime }}</div>
</div>
</div>
</div>
</div>
</div>