@if (agentService.isVideoWindowOpen() && isTheaterMode()) {
} @if (agentService.isVideoWindowOpen()) {
{{ agentService.recordingPlaybackStatus() === 'live' ? 'sensors' : (agentService.playerMode() === 'steps' ? 'slideshow' : (agentService.recordingPlaybackStatus() === 'processing' ? 'progress_activity' : 'smart_display')) }} {{ agentService.recordingPlaybackStatus() === 'live' ? '设备实时画面' : (agentService.playerMode() === 'steps' ? ('步骤回放(' + (totalStepFrames() > 0 ? (activeStepIndex() + 1) + '/' + totalStepFrames() : '0') + ')') : (agentService.recordingPlaybackStatus() === 'processing' ? '正在准备录像' : (agentService.activeVideoTitle() || '屏幕录像'))) }}
@if (agentService.recordingPlaybackStatus() === 'ready' && agentService.hasCurrentSessionStepFrames() && !agentService.isVideoMinimized()) {
} @if (!agentService.isVideoMinimized()) { }
@if (sources().length && !agentService.isVideoMinimized()) {
@if (agentService.recordingPlaybackMessage()) {
{{ agentService.recordingPlaybackMessage() }}
} @if (!agentService.activeVideoUrl()) {
此来源暂无可播放录像,请查看步骤截图或日志。
} } @if (!agentService.isVideoMinimized() && agentService.playerMode() === 'video' && missingRecordingLabels().length) {
{{ missingRecordingLabels().join('、') }}步骤没有对应录像,可切换「步骤」查看已有截图。
} @if (!agentService.isVideoMinimized()) {
@if (agentService.recordingPlaybackStatus() === 'live') { @if (!liveStreamError() && pageVisible()) {
设备实时画面
实时
} @if (liveStreamError()) {
phonelink_off

正在连接设备画面

正在等待 ADB 设备画面…

} } @if (agentService.recordingPlaybackStatus() !== 'live') { @if (agentService.playerMode() === 'video' && (agentService.recordingPlaybackStatus() === 'processing' || agentService.isVideoLoading())) {
progress_activity {{ agentService.recordingPlaybackMessage() || '正在准备屏幕录像…' }}
} @if (agentService.playerMode() === 'steps' && totalStepFrames() > 0) {
@if (agentService.recordingPlaybackStatus() === 'failed' || videoLoadError()) {
info 录像不可用,正在逐步回放截图。
}
@if (isStepImageLoading()) {
progress_activity 正在加载截图…
} @if (stepImageError() && !isStepImageLoading()) {
broken_image 此步骤暂无可用截图
} @if (!stepImageError()) {
} @if (currentStepFrame(); as frame) {
步骤 {{ frame.stepNumber }} @if (frame.action) { {{ getStepActionIcon(frame.action) }} } {{ frame.actionText || frame.title }}
@if (frame.postImageUrl) {
}
}
} @if (agentService.playerMode() === 'video' && agentService.recordingPlaybackStatus() === 'ready' && !agentService.isVideoLoading() && agentService.activeVideoUrl(); as videoUrl) { @if (!videoLoadError()) {
@if (gapMessage()) {
{{ gapMessage() }}
}
} @if (!videoLoadError()) { } } @if (!agentService.isVideoLoading() && (agentService.playerMode() === 'video' || totalStepFrames() === 0) && (agentService.recordingPlaybackStatus() === 'failed' || agentService.recordingPlaybackStatus() === 'unavailable' || videoLoadError()) && totalStepFrames() === 0) {
videocam_off

{{ agentService.recordingPlaybackStatus() === 'failed' || videoLoadError() ? 'Recording Playback Failed' : 'No Video Recording Available' }}

{{ videoLoadError() ? 'The finalized recording could not be played.' : (agentService.recordingPlaybackMessage() || 'No screen recording was found for this task.') }}

@if (agentService.recordingPlaybackStatus() === 'failed' || videoLoadError()) { }
} }
}
}