<ion-header>

  <ion-navbar>
    <ion-title>问卷预览</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <p>{{temp.title}}</p>
  <ion-list *ngFor="let item of detail;let i = index;">
      <p>{{i +1}}.{{item.title}}</p>
      <ng-container *ngIf="item.quesType == 1">
          <p><input type="radio">是</p>
          <p><input type="radio">否</p>
      </ng-container>
      <ng-container *ngIf="item.quesType == 2">
          <ng-container *ngFor=" let option1 of item.quesDesc">
              <p>{{option1.option_title}}</p>
          </ng-container>
      </ng-container>
      <ng-container *ngIf="item.quesType == 3">
          <ng-container *ngFor=" let option2 of item.quesDesc">
              <p>{{option2.option_title}}</p>
          </ng-container>
      </ng-container>
      <ng-container *ngIf="item.quesType == 4">
          <textarea placeholder="文字"></textarea>
      </ng-container>
  </ion-list>
</ion-content>
