<ion-header>
    <ion-navbar>
        <ion-title>{{displayData.title}}</ion-title>
        <ion-buttons start>
            <button ion-button tappable (click)="cancel()">
                <span class="color-fff" ion-text>取消</span>
            </button>
        </ion-buttons>
    </ion-navbar>
</ion-header>
<ion-content padding class="viewFile">
    <ion-icon ion-fixed name="add" tappable (click)="changeZoom('add')"></ion-icon>
    <ion-icon ion-fixed name="remove" tappable (click)="changeZoom('remove')"></ion-icon>
    <pdf-viewer [src]="displayData.pdfSource"
                [show-all]="true"
                [original-size]="false"
                [zoom]="currentZoom"
                [render-text]="false"
                [autoresize]="true"
                (error)="onError($event)"
                (on-progress)="progress($event)"
                (after-load-complete)="afterLoad($event)"
                style="display: block">
    </pdf-viewer>
</ion-content>
