
<div class="wrapper" *ngIf="type=='personal_statement'">
  <div class="title">
    <div><span class="line"></span>个人声明</div>
    <span class="page_mark"> 6/8</span>
  </div>
  <div class="content">
    <ul>
      <li *ngFor="let personalStatements of dropOptionsInfoList" (click)="selectStatements(personalStatements)"
      [ngClass]="{'selected':personalStatements.status}">
        <span> {{personalStatements.dropOptionName}}</span> 
        <span class="iconfont icon-gougou" *ngIf="personalStatements.status"></span>
      </li>
    </ul>
    <textarea placeholder="输入报聘" #autofocusFlag [(ngModel)]="everWork" *ngIf="everWorkFlag" class="form-control" cols="10" rows="5"></textarea>
  </div>
  <footer class="fixed" (click)="next()" *ngIf="!approvalIdentity">
    保存并下一步
  </footer>
  <div id="page" *ngIf="approvalIdentity">
    <div (click)="goBack()">上一页</div>
    <div (click)="viewNext()">下一页</div>
  </div>
</div>

<div class="wrapper" *ngIf="type =='contract'">
  <div class="title">
    <div>合同文档确认</div>
    <span class="page_mark"> 7/8</span>
  </div>
  <div class="content">
    <ul>
      <li *ngFor="let contractItem of contractTermsList" (click)="readContract(contractItem)"
      [ngClass]="{'selected':contractItem.confirmStatus}">
        <span>{{contractItem.termName}}</span>
        <span>
          <span style="margin-right: 5px;" *ngIf="contractItem.confirmStatus && approvalIdentity">已阅读</span>
          <i class="iconfont icon-gougou" *ngIf="contractItem.confirmStatus"></i>
        </span>  
      </li>
    </ul>
  </div>
  <footer class="fixed" (click)="next()" [ngClass]="{default:isAllAgree == false}"
  *ngIf="!approvalIdentity">
    我已全部阅读且同意，下一步
  </footer>
  <div id="page" *ngIf="approvalIdentity">
    <div (click)="goBack()">上一页</div>
    <div (click)="viewNext()">下一页</div>
  </div>
</div>
<div class="toastWrapper toast" *ngIf="isShow">

</div>
<!-- <div id="toastContent" *ngIf="isShow" #contract (scroll)="onScroll($event)"> -->
<div id="toastContent" *ngIf="isShow" #contract >

  <div class="title">
    {{curTitle}}
  </div>
  <div class="contract" [innerHtml]="curContract" ></div>
  <div class="agree" (click)="agree(curContractId)"
  [ngClass]="{'readOnly':agreeBtnShow==false}"
  >同意</div>
  <!--<div>{{curQues|json}}</div>-->
</div>
<ydlife-alert *ngIf="isNeedAlert" [dialogInfo]="dialogInfo" (popInfo)="getPopInfo()"></ydlife-alert>