<!--
 * @Author: your name
 * @Date: 2021-11-29 11:06:01
 * @LastEditTime: 2021-11-29 15:08:06
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \tms-obc-web\src\app\routes\account\components\edit-name\edit-name.component.html
-->
<sf #sf [compact]="true" [ui]="ui" [schema]="schema" [button]="'none'" [formData]="formData">
  <ng-template sf-template="smsVerifyCode" let-me let-ui="ui" let-schema="schema">
    <div class="valid-code">
      <input
        type="text"
        maxlength="6"
        nz-input
        [ngModel]="me.formProperty.value"
        (ngModelChange)="me.setValue($event)"
        placeholder="请输入验证码"
      />
      <button class="btn-code" nz-button nzType="link" [disabled]="count > 0"  (click)="getCaptcha()">
        {{ count > 0 ? '请等待' + count + 's' : '获取验证码' }}
      </button>
    </div>
  </ng-template>
</sf>

<!-- <div class="modal-footer">
  <button nz-button type="button" (click)="close()">关闭</button>
  <button nz-button type="button" nzType="primary" (click)="submitForm()" [disabled]="!sf.valid">确定</button>
</div> -->
<!-- <app-captcha #dun [phone]="this.i.phone" (done)="captchaDone($event)"></app-captcha> -->
