<div class="salesWrapper">
  <ul class="tab">
    <li *ngFor="let titleItem of titleList" (click)="selectTab(titleItem.id)">
      <div style="position: relative;">
        <h3>{{titleItem.name}}</h3>
        <hr *ngIf="selectedId===titleItem.id"/>
      </div>
    </li>
  </ul>
  <div style="padding: 10px 0px 0px 0px;height: 100%;">
    <div class="contentList" *ngIf="selectedId==0" style="min-height: 100%;">
      <ul *ngIf="practitionerInfo?.contractOssPath">
        <li>
          <a href="{{practitionerInfo?.contractOssPath}}" download="{{practitionerInfo?.contractOssPath}}" target="_blank">
            <div><i class="iconfont icon-pdf"></i></div>
            <div title="{{practitionerInfo?.name}}">{{practitionerInfo?.name}}的经纪合同</div>
            <div style="position: absolute;right: 5px;top: 6px;"><i class="iconfont icon-xiazai"></i></div>
          </a>
        </li>
      </ul>
      <div *ngIf="!practitionerInfo?.contractOssPath" style="text-align: center;height: 40px;line-height: 40px;">暂无经纪合同</div>
    </div>
    <ydlife-thanks *ngIf="selectedId==1" [isShowClose]="isShowClose"></ydlife-thanks> 
    <div class="contentList" *ngIf="selectedId==2">
      <ul>
        <li *ngFor="let fileUploadItem of fileUploadItemList">
          <a href="{{fileUploadItem.filePath}}" download="{{fileUploadItem.itemName}}" target="_blank">
            <div><i class="iconfont icon-pdf"></i></div>
            <div title="{{fileUploadItem.itemName}}">{{fileUploadItem.itemName}}</div>
            <div style="position: absolute;right: 5px;top: 6px;"><i class="iconfont icon-xiazai"></i></div>
          </a>
        </li>
      </ul>
    </div>
  </div>
  
</div>