10 changed files with 92 additions and 31 deletions
@ -1,10 +1,18 @@
|
||||
<div class="upload"> |
||||
<div class="file"> |
||||
<input type="file" (change)="filechange($event)" accept=".doc,.txt,.docx,.pdf"> |
||||
<button mat-raised-button color="primary" (click)='upload()'><img style="margin-bottom: 2px;" src="../../../assets/images/bendi.png"> 重新上传文件</button> |
||||
<input id="up" style="display: none;" type="file" (change)="filechange($event)" accept=".doc,.txt,.docx,.pdf"> |
||||
<label style="font-size: 10px;">{{file==undefined?'':file.name}}</label> |
||||
</div> |
||||
<div style="margin-top: 20px;margin-left: 20px;"> |
||||
<button type="button" mat-button (click)="startUploading()" >确定</button> |
||||
<button type="button" mat-button (click)="onNoClick()" style="margin-left: 10px;">取消</button> |
||||
<!-- <div class="progressBox" *ngIf="uploadisLoading"> |
||||
|
||||
<span style="font-size: 13px;">上传中...</span> |
||||
<mat-progress-bar mode="determinate" [value]="uploadProgress" class="progress" style="width: 320px;left: 64px;"></mat-progress-bar> |
||||
|
||||
</div> --> |
||||
<div style="margin-top: 20px;text-align: center;"> |
||||
<button mat-raised-button (click)="startUploading()" >确定</button> |
||||
<button mat-raised-button (click)="onNoClick()" style="margin-left: 10px;">取消</button> |
||||
</div> |
||||
|
||||
</div> |
@ -0,0 +1,3 @@
|
||||
<div style="height: 100%;width: 100%;"> |
||||
<iframe [src]="src" style="width: 100%;height: 100%;"></iframe> |
||||
</div> |
Loading…
Reference in new issue