<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" *ngIf="!judgmentFile(fileUploadItem.filePath)"></i>
            <img src="assets/images/videoIcon.png" alt="视频" *ngIf="judgmentFile(fileUploadItem.filePath)" style=" width: 26px;
            margin-right: 6px;">
          </div>
          <div title="{{fileUploadItem.itemName}}">{{fileUploadItem.itemName}}</div>
          <div style="position: absolute;right: 5px;top: 6px;">
            <i class="iconfont icon-xiazai" *ngIf="!judgmentFile(fileUploadItem.filePath)"></i>
            <img src="assets/images/playIcon.png" alt="播放" *ngIf="judgmentFile(fileUploadItem.filePath)" style=" width: 26px;">
          </div>
        </a>
      </li>
    </ul>
  </div>
</div>