Skip to content

Commit 274b42b

Browse files
committed
finish create list
1 parent 85516b5 commit 274b42b

File tree

9 files changed

+10
-18
lines changed

9 files changed

+10
-18
lines changed
Loading
154 KB
Loading
42.9 KB
Loading
Loading
Loading
Loading

src/pages/list/reactive-list-label/list-data.ts

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const LIST_DATA: IDataList[] = [
2424
{
2525
nameProduct: 'All the Light We Cannot See: A Novel',
2626
author: 'Anthony Doerr',
27-
pictureProduct: './assets/img/reactive-list-labels/all_light_we_cannot_see.jpg',
27+
pictureProduct: './assets/img/reactive-list-labels/all_light_we_cannot_see.jpeg',
2828
category: 'Literature & Fiction',
2929
price: 12.99
3030
},
@@ -38,56 +38,49 @@ export const LIST_DATA: IDataList[] = [
3838
{
3939
nameProduct: 'The Glass Castle: A Memoir',
4040
author: 'Jeannette Walls',
41-
pictureProduct: '',
41+
pictureProduct: './assets/img/reactive-list-labels/the_glass_castle.jpg',
4242
category: 'Biographies & Memoirs',
4343
price: 5.14
4444
},
4545
{
4646
nameProduct: 'Born a Crime: Stories from a South African Childhood',
4747
author: 'Trevor Noah',
48-
pictureProduct: '',
48+
pictureProduct: './assets/img/reactive-list-labels/born_a_crime.jpg',
4949
category: 'Biographies & Memoirs',
5050
price: 6.0
5151
},
5252
{
5353
nameProduct: 'Al Franken, Giant of the Senate',
5454
author: 'Al Franken',
55-
pictureProduct: '',
55+
pictureProduct: './assets/img/reactive-list-labels/giant_of_the_senate.jpg',
5656
category: 'Biographies & Memoirs',
5757
price: 6.39
5858
},
5959
{
6060
nameProduct: 'Pandemic (The Extinction Files Book 1)',
6161
author: 'A.G. Riddle',
62-
pictureProduct: '',
62+
pictureProduct: './assets/img/reactive-list-labels/pandemic.jpg',
6363
category: 'Biographies & Memoirs',
6464
price: 5.47
6565
},
6666
{
6767
nameProduct: 'Origin: A Novel',
6868
author: 'Dan Brown',
69-
pictureProduct: '',
69+
pictureProduct: './assets/img/reactive-list-labels/origin.jpg',
7070
category: 'Suspense',
7171
price: 10.99
7272
},
7373
{
7474
nameProduct: 'The Rooster Bar',
7575
author: 'John Grisham',
76-
pictureProduct: '',
76+
pictureProduct: './assets/img/reactive-list-labels/the_rooster_bar.jpg',
7777
category: 'Suspense',
7878
price: 10.99
7979
},
8080
{
8181
nameProduct: 'The Life We Bury',
8282
author: 'Dan Brown',
83-
pictureProduct: '',
84-
category: 'Suspense',
85-
price: 10.99
86-
},
87-
{
88-
nameProduct: 'Origin: A Novel',
89-
author: 'Dan Brown',
90-
pictureProduct: '',
83+
pictureProduct: './assets/img/reactive-list-labels/the_life_we_bury.jpg',
9184
category: 'Suspense',
9285
price: 10.99
9386
}

src/pages/list/reactive-list-label/reactive-list-label.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020
<ion-card-title>
2121
{{ book.nameProduct }}
2222
</ion-card-title>
23-
<p>
24-
{{ book.author }}
25-
</p>
23+
<p> {{ book.author }} </p>
24+
<b> {{ book.category }} </b>
2625
</ion-card-content>
2726

2827
</ion-card>

0 commit comments

Comments
 (0)