<ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button defaultHref="/tabs/tab3"></ion-back-button>
    </ion-buttons>
    <ion-title>健康资讯</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content padding>
  <ion-list lines="none">
    <ion-item-sliding *ngFor="let news of newsList" (click)="openNewsDetail(news)">
      <ion-item button detail>
        <ion-icon [name]="news.icon" slot="start" color="primary"></ion-icon>
        <ion-label>
          <h2>{{ news.title }}</h2>
          <p>{{ getPlainTextContent(news.content) | slice:0:50 }}...</p>
        </ion-label>
      </ion-item>
    </ion-item-sliding>
  </ion-list>
</ion-content>