@if (agentService.recordingPlaybackStatus() === 'live') {
@if (!liveStreamError() && pageVisible()) {
}
@if (liveStreamError()) {
phonelink_off
正在连接设备画面
正在等待 ADB 设备画面…
refresh 重新连接
}
}
@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) {
操作前
操作后
}
{{ isCardPinned() ? 'push_pin' : 'keep' }}
}
}
@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()) {
refresh 重试
}
}
}