<div class="fileUploadLists">
  <div class="nav" *ngIf="!fileUploadType">
    <ul class="left" [ngStyle]="{'width':type == 'fileUpload'?'100%':'120%'}">
      <li *ngFor="let categoryItem of categoryList" (click)="switchCategory(categoryItem.dropOptionCode)"
        [ngClass]="{'actived':selectedCategoryId===categoryItem.dropOptionCode}">
        {{categoryItem.dropOptionName}}
      </li>
    </ul>
  </div>
  <div class="contentList" [ngStyle]="{'margin-top':type == 'fileUpload'?'10px':'auto'}">
    <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>