Newer
Older
<nz-modal [(nzVisible)]="isShow" nzTitle="{{modalTitle}}" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()">
<form nz-form>
<nz-form-item>
<nz-form-label [nzSpan]="7" nzRequired nzFor="startTime">开始时间</nz-form-label>
<nz-form-control [nzSpan]="12">
<nz-date-picker nzShowTime name="startTime" [(ngModel)]="data.startTime" nzFormat="yyyy-MM-dd HH:mm:ss"></nz-date-picker>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label [nzSpan]="7" nzRequired nzFor="time">禁止时长</nz-form-label>
<nz-form-control [nzSpan]="12">
<input style="width: 60%;margin-right: 10px" type="text" nz-input name="time" [(ngModel)]="data.time">分钟
</nz-form-control>
</nz-form-item>
</form>
</nz-modal>