<div class="container">
  <div class="layout">
    <div class="content">
      <div class="twoContent">
        <div class="questionTitle">
          <div class="titleName">{{ this.curPageData?.questions[0]['questionName'] }}</div>
          <div class="page">{{this.curPage}}/{{this.totalPage}}</div>
        </div>
        <div class="subTitle">(收入决定了所需保障额度)</div>
        <ul class="income">
          <li [ngClass]="{ selected: options['selected'] }"
            *ngFor="let options of this.curPageData?.questions[0].options"
            (click)="selectedIncome(this.curPageData?.questions[0],options)">
            {{ options.optionName }}
          </li>
        </ul>
        <div class="questionTitle" *ngIf="this.type == 2 || this.type == 4">
          {{ this.curPageData?.questions[1]['questionName']}}
        </div>
        <ul class="income" *ngIf="this.type == 2 || this.type == 4">
          <li [ngClass]="{ selected: options['selected']}"
            *ngFor="let options of this.curPageData?.questions[1]['options']"
            (click)="selectedIncome(this.curPageData?.questions[1],options)">
            {{ options.optionName }}
          </li>
        </ul>
      </div>
    </div>
  </div>
  <div class="content_footer">
    <div (click)="before()">上一步</div>
    <div class="next" [ngStyle]="{ opacity: nextBtn == false ? '0.8' : '1' }" (click)="next()"> 下一步</div>
  </div>
</div>