2 changed files with 21 additions and 25 deletions
@ -1,18 +1,20 @@ |
|||||||
<div class="upload"> |
<div class="upload"> |
||||||
<div class="file"> |
<div class="file"> |
||||||
<button mat-raised-button color="primary" (click)='upload()'><img style="margin-bottom: 2px;" src="../../../assets/images/bendi.png"> 重新上传文件</button> |
<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"> |
<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> |
<label style="font-size: 10px;">{{file==undefined?'':file.name}}</label> |
||||||
</div> |
</div> |
||||||
<!-- <div class="progressBox" *ngIf="uploadisLoading"> |
<div class="progressBox" *ngIf="uploadisLoading"> |
||||||
|
|
||||||
<span style="font-size: 13px;">上传中...</span> |
<span style="font-size: 13px;">上传中...</span> |
||||||
<mat-progress-bar mode="determinate" [value]="uploadProgress" class="progress" style="width: 320px;left: 64px;"></mat-progress-bar> |
<mat-progress-bar mode="determinate" [value]="uploadProgress" class="progress" style="width: 150px;left: 64px;"> |
||||||
|
</mat-progress-bar> |
||||||
</div> --> |
|
||||||
|
</div> |
||||||
<div style="margin-top: 20px;text-align: center;"> |
<div style="margin-top: 20px;text-align: center;"> |
||||||
<button mat-raised-button (click)="startUploading()" >确定</button> |
<button mat-raised-button (click)="startUploading()">确定</button> |
||||||
<button mat-raised-button (click)="onNoClick()" style="margin-left: 10px;">取消</button> |
<button mat-raised-button (click)="onNoClick()" style="margin-left: 10px;">取消</button> |
||||||
</div> |
</div> |
||||||
|
|
||||||
</div> |
</div> |
Loading…
Reference in new issue