<ion-header>
  <ion-toolbar>
    <ion-back-button defaultHref="/tabs/tab1"></ion-back-button>
    <ion-title>我的漂流瓶</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <ion-list>
    <ion-item>
      <ion-label>
        <h2>我扔出的漂流瓶</h2>
      </ion-label>
    </ion-item>
    <ion-item *ngFor="let bottle of thrownDriftbottles">
      <ion-label>
        <h3>{{ bottle.content }}</h3>
        <p>{{ bottle.createdAt }}</p>
      </ion-label>
    </ion-item>
    <ion-item lines="none">
      <ion-button expand="block" (click)="goDriftbottle()">
        投掷漂流瓶
      </ion-button>
    </ion-item>
  </ion-list>
</ion-content>