<div class="head">{{title?title:null}}</div>
<div class="card-container">
  <div *ngFor="let item of _messages;index as i" class="carditem">
    <img *ngIf="item.icon" src="{{item.icon?item.icon:null}}" alt="" (click)="handleClick(item)"
      onerror="this.src='./assets/icon/default_img.png'">
    <div class="title" (click)="handleClick(item)">{{item.text}}</div>
    <div class="subtitle" (click)="handleClick(item)">{{item.subtitle}}</div>
  </div>
</div>