123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <ion-header>
- <ion-toolbar>
- <div class="toolbar-content">
- <div class="button-container">
- <ion-button (click)="goDriftbottle()" fill="clear">
- <ion-icon name="chevron-back" slot="start"></ion-icon>返回
- </ion-button>
- </div>
- <ion-title class="title-text">
- 我的漂流瓶
- </ion-title>
- </div>
- </ion-toolbar>
- </ion-header>
- <ion-content>
- <ion-list>
- <ion-item>
- <ion-label>
- <h2>我扔出的漂流瓶</h2>
- </ion-label>
- </ion-item>
-
- <ion-card *ngFor="let bottle of thrownDriftbottles">
- <ion-card-header>
- <ion-card-title>{{ bottle.content }}</ion-card-title>
- </ion-card-header>
- <ion-card-content>
- <p>{{ bottle.createdAt }}</p>
- </ion-card-content>
- </ion-card>
- <ion-item>
- <ion-label>
- <h2>我捞上的漂流瓶</h2>
- </ion-label>
- </ion-item>
-
- <ion-card *ngFor="let bottle of caughtDriftbottles">
- <ion-card-header>
- <ion-card-title>{{ bottle.content }}</ion-card-title>
- </ion-card-header>
- <ion-card-content>
- <p>{{ bottle.createdAt }}</p>
- </ion-card-content>
- </ion-card>
- </ion-list>
- </ion-content>
|