From 12b04f145bae740e1971036b1e2dfc1bc224d17b Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 11 Jul 2018 14:38:47 +0800 Subject: [PATCH] Revert "框架调整" --- src/app/routes/delon/zip/zip.component.html | 38 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/src/app/routes/delon/zip/zip.component.html b/src/app/routes/delon/zip/zip.component.html new file mode 100644 index 0000000..f2cf5b5 --- /dev/null +++ b/src/app/routes/delon/zip/zip.component.html @@ -0,0 +1,38 @@ +<div class="content__title"> + <h1>Read & Write zip file, + <a href="//ng-alain.com/components/zip" target="_blank">Document</a> + </h1> +</div> +<nz-card nzTitle="������"> + <button nz-button (click)="url()">Via Url</button> + <input type="file" (change)="change($event)" multiple="false" class="ml-sm" /> + <ol> + <li *ngFor="let i of list">{{i | json}}</li> + </ol> +</nz-card> +<nz-card nzTitle="������" *ngIf="instance"> + <button nz-button (click)="data.push({})" [nzType]="'primary'">new</button> + <button nz-button (click)="download()" class="ml-sm">download</button> + <nz-table [nzData]="data" [nzFrontPagination]="false" [nzShowPagination]="false" class="mt-sm"> + <thead> + <tr> + <th> + <span>path</span> + </th> + <th> + <span>url</span> + </th> + </tr> + </thead> + <tbody> + <tr *ngFor="let i of data; let index = index"> + <td> + <input nz-input [(ngModel)]="i.path" name="path{{index}}"> + </td> + <td> + <input nz-input [(ngModel)]="i.url" name="url{{index}}"> + </td> + </tr> + </tbody> + </nz-table> +</nz-card> -- Gitblit v1.8.0