<div class="hdlist">
  <div class="head">{{title?title:null}}</div>
  <div class="content">
    <div *ngFor="let item of _messages" class="item">
      <div class="image" (click)="handleClick(item)">
        <img *ngIf="item.image &&item.image[0]" [ngStyle]="{'height': height}" [src]="(item.image && item.image[0] ? url+item.image[0].id :null)"
          alt="" onerror="this.src='./assets/icon/default_img.png'">
      </div>
      <ng-container *ngIf="item.title">
        <div class="title" (click)="handleClick(item)">
          {{item.title}}
        </div>
      </ng-container>
    </div>
  </div>
</div>