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