|
@@ -16,12 +16,18 @@
|
|
|
<ion-segment-button value="五言绝句">
|
|
|
<ion-label>五言绝句</ion-label>
|
|
|
</ion-segment-button>
|
|
|
- <ion-segment-button value="六言绝句">
|
|
|
- <ion-label>六言绝句</ion-label>
|
|
|
- </ion-segment-button>
|
|
|
<ion-segment-button value="七言绝句">
|
|
|
<ion-label>七言绝句</ion-label>
|
|
|
</ion-segment-button>
|
|
|
+ <ion-segment-button value="五言古诗">
|
|
|
+ <ion-label>五言古诗</ion-label>
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="七言古诗">
|
|
|
+ <ion-label>七言古诗</ion-label>
|
|
|
+ </ion-segment-button>
|
|
|
+ <ion-segment-button value="乐府">
|
|
|
+ <ion-label>乐府</ion-label>
|
|
|
+ </ion-segment-button>
|
|
|
</ion-segment>
|
|
|
</ion-toolbar>
|
|
|
</ion-header>
|
|
@@ -40,31 +46,30 @@
|
|
|
<ion-item button (click)="onGenreSelect('五言绝句')">
|
|
|
<ion-label>五言绝句</ion-label>
|
|
|
</ion-item>
|
|
|
- <ion-item button (click)="onGenreSelect('六言绝句')">
|
|
|
- <ion-label>六言绝句</ion-label>
|
|
|
- </ion-item>
|
|
|
<ion-item button (click)="onGenreSelect('七言绝句')">
|
|
|
<ion-label>七言绝句</ion-label>
|
|
|
</ion-item>
|
|
|
+ <ion-item button (click)="onGenreSelect('五言古诗')">
|
|
|
+ <ion-label>五言古诗</ion-label>
|
|
|
+ </ion-item>
|
|
|
+ <ion-item button (click)="onGenreSelect('七言古诗')">
|
|
|
+ <ion-label>七言古诗</ion-label>
|
|
|
+ </ion-item>
|
|
|
+ <ion-item button (click)="onGenreSelect('乐府')">
|
|
|
+ <ion-label>乐府</ion-label>
|
|
|
+ </ion-item>
|
|
|
</ion-list>
|
|
|
</ion-col>
|
|
|
<ion-col size="10" class="scrollable-content">
|
|
|
<div class="book-cards-container">
|
|
|
- <div class="card" *ngFor="let book of filteredPoemsList" (click)="goToPoemDetail(book)">
|
|
|
- <h1 style="text-align: left;">{{ book.get('title') }}</h1>
|
|
|
-
|
|
|
- <h4 style="text-align: left;">{{ book.get('creation_time') }}</h4>
|
|
|
-
|
|
|
-
|
|
|
- </div>
|
|
|
- <!-- <ion-card class="bookcard" *ngFor="let book of filteredPoemsList" (click)="goToPoemDetail(book)">
|
|
|
+ <ion-card class="bookcard" *ngFor="let book of filteredPoemsList" (click)="goToPoemDetail(book)">
|
|
|
<ion-card-header>
|
|
|
<ion-card-title>{{ book.get('title') }}</ion-card-title>
|
|
|
</ion-card-header>
|
|
|
<ion-card-content>
|
|
|
<p>{{ book.get('creation_time') }}</p>
|
|
|
</ion-card-content>
|
|
|
- </ion-card> -->
|
|
|
+ </ion-card>
|
|
|
</div>
|
|
|
</ion-col>
|
|
|
</ion-grid>
|