|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
<div class="details"> |
|
|
|
|
预警详情:{{details}} |
|
|
|
|
</div> |
|
|
|
|
<div class="typecheckbox" *ngIf="isAnxin"> |
|
|
|
|
<div class="typecheckbox" *ngIf="isAnxin && selectedType == 'img'"> |
|
|
|
|
<ng-container *ngIf="isShowAxOtherRegion"> |
|
|
|
|
<label *ngFor="let item of this.legendList" nz-checkbox [(ngModel)]="item.checked" |
|
|
|
|
(ngModelChange)="typeChange(item)"> |
|
|
|
@ -32,7 +32,7 @@
|
|
|
|
|
<button nz-button nzType="primary" (click)="downImg()">导出图片</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="content"> |
|
|
|
|
<div *ngIf="selectedType == 'img'" class="imgbox" [ngClass]="{'imgboxAX': isAnxin}"> |
|
|
|
|
<div [hidden]="!(selectedType == 'img')" class="imgbox" [ngClass]="{'imgboxAX': isAnxin}"> |
|
|
|
|
<ng-container *ngIf="imgUrl; else elseTemplate"> |
|
|
|
|
<ng-container *ngIf="isImage; else elseTemplate2"> |
|
|
|
|
<img id="img" [src]="imgUrl" alt=""> |
|
|
|
@ -47,7 +47,7 @@
|
|
|
|
|
暂无图片 |
|
|
|
|
</ng-template> |
|
|
|
|
</div> |
|
|
|
|
<div *ngIf="selectedType == 'video'" class="vediobox"> |
|
|
|
|
<div [hidden]="!(selectedType == 'video')" class="vediobox"> |
|
|
|
|
<ng-container *ngIf="vedioUrl; else elseTemplate3"> |
|
|
|
|
<video crossorign="anonymous" controls style="width: 100%;height: 100%;" [src]="vedioUrl"></video> |
|
|
|
|
</ng-container> |
|
|
|
|