fixed the modal-preview in accoes-presidenciais on web, mobile and tablet plataform

This commit is contained in:
EQUILIBRIUM\hirondino.van-dunem
2022-07-04 09:12:19 +01:00
parent fca61eb169
commit d250777e93
3 changed files with 1067 additions and 1707 deletions
+1062 -1703
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -133,6 +133,7 @@
"g": "^2.0.1", "g": "^2.0.1",
"global": "^4.4.0", "global": "^4.4.0",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"howler": "^2.2.3",
"http-server": "^14.1.1", "http-server": "^14.1.1",
"i": "^0.3.7", "i": "^0.3.7",
"ionic-angular": "^3.9.10", "ionic-angular": "^3.9.10",
@@ -20,18 +20,18 @@
<ion-slides style="width: 100%; height: 100%;" [options]="sliderOpts"> <ion-slides style="width: 100%; height: 100%;" [options]="sliderOpts">
<ion-slide> <ion-slide>
<div class="swiper-zoom-container"> <div class="swiper-zoom-container">
<div *ngIf="type == 'application/img'"> <div>
<img src="{{image}}"> <img src="{{image}}">
</div> </div>
<div *ngIf="type == 'application/pdf'"> <!-- <div *ngIf="type == 'application/pdf'">
<iframe width="100%" height="100%" [src]="base64Sanitize" type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"></iframe> <iframe width="100%" height="100%" [src]="base64Sanitize" type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"></iframe> -->
<!-- <pdf-viewer [src]="image" <!-- <pdf-viewer [src]="image"
[render-text]="true" [render-text]="true"
[original-size]="false" [original-size]="false"
style="width: 400px; height: 500px" style="width: 400px; height: 500px"
></pdf-viewer> --> ></pdf-viewer> -->
</div> <!-- </div> -->
</div> </div>
</ion-slide> </ion-slide>
</ion-slides> </ion-slides>