modification zone cliquable des vignettes
This commit is contained in:
parent
8555ac38ec
commit
822a367ebe
@ -1,11 +1,11 @@
|
|||||||
<div class="plant card mb-4" style="width: 14rem;" (click) = "onGetId(plant.product_id)">
|
<div class="plant card mb-4" style="width: 14rem;">
|
||||||
<app-icon class="like"
|
<app-icon class="like"
|
||||||
[iconName]="'heart'"
|
[iconName]="'heart'"
|
||||||
[iconColor]="'#e35d6a'"
|
[iconColor]="'#e35d6a'"
|
||||||
(click)="onClickLike()"></app-icon>
|
(click)="onClickLike()"></app-icon>
|
||||||
<img src="{{plant.product_url_picture}}" class="card-img-top" alt="Image de {{ plant.product_name }}">
|
<img src="{{plant.product_url_picture}}" class="card-img-top" alt="Image de {{ plant.product_name }}" (click) = "onGetId(plant.product_id)">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h6 class="card-title">{{ plant.product_name }}</h6>
|
<h6 class="card-title" (click) = "onGetId(plant.product_id)">{{ plant.product_name }}</h6>
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<app-avis-bar></app-avis-bar>
|
<app-avis-bar></app-avis-bar>
|
||||||
</div>
|
</div>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col" *ngFor="let product of listData">
|
<div class="col" *ngFor="let product of listData">
|
||||||
<app-card-plante [plant]="product" [routerLink]="['/details/:productId']" (clickLike)="onEventLike()">
|
<app-card-plante [plant]="product" (clickLike)="onEventLike()">
|
||||||
</app-card-plante>
|
</app-card-plante>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user