mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
fixed the modal-preview in accoes-presidenciais on web, mobile and tablet plataform
This commit is contained in:
Generated
+1062
-1703
File diff suppressed because it is too large
Load Diff
@@ -133,6 +133,7 @@
|
||||
"g": "^2.0.1",
|
||||
"global": "^4.4.0",
|
||||
"hammerjs": "^2.0.8",
|
||||
"howler": "^2.2.3",
|
||||
"http-server": "^14.1.1",
|
||||
"i": "^0.3.7",
|
||||
"ionic-angular": "^3.9.10",
|
||||
|
||||
@@ -20,18 +20,18 @@
|
||||
<ion-slides style="width: 100%; height: 100%;" [options]="sliderOpts">
|
||||
<ion-slide>
|
||||
<div class="swiper-zoom-container">
|
||||
<div *ngIf="type == 'application/img'">
|
||||
<div>
|
||||
<img src="{{image}}">
|
||||
</div>
|
||||
<div *ngIf="type == 'application/pdf'">
|
||||
<iframe width="100%" height="100%" [src]="base64Sanitize" type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"></iframe>
|
||||
<!-- <div *ngIf="type == 'application/pdf'">
|
||||
<iframe width="100%" height="100%" [src]="base64Sanitize" type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"></iframe> -->
|
||||
|
||||
<!-- <pdf-viewer [src]="image"
|
||||
[render-text]="true"
|
||||
[original-size]="false"
|
||||
style="width: 400px; height: 500px"
|
||||
></pdf-viewer> -->
|
||||
</div>
|
||||
<!-- </div> -->
|
||||
</div>
|
||||
</ion-slide>
|
||||
</ion-slides>
|
||||
|
||||
Reference in New Issue
Block a user