<div class="nav" *ngIf="importantAnnouncementLists?.length >1">
  <ul class="left">
    <li *ngFor="let categoryItem of importantAnnouncementLists" (click)="switchCategory(categoryItem.id)"
      [ngClass]="{'actived':selectedCategoryId===categoryItem.id}">
      {{categoryItem.dropOptionName}}
    </li>
  </ul>
</div>
<div #hide class="materialContainer">
  <div class="materialItem" *ngFor="let announcementInfo of announcementLists;index as i"
    [routerLink]="['/importantAnnouncement',announcementInfo.id]">
    <span class="iconfont icon-youxiang1"></span>
    <!-- <div class="title" [innerHtml]="announcementInfo.title"></div> -->
    <div class="title">{{this.lifeCommonService.delHtmlTag(announcementInfo.title)}}</div>
    <div class="date">
      <!-- <span> 上海银盾保险经纪有限公司</span> -->
      <span>{{announcementInfo.announcementAt}}</span>
    </div>
  </div>
</div>