소스 검색

推荐跳转

CuddleNan 5 일 전
부모
커밋
96e04096d2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      myapp/src/app/tab1/tab1.page.html

+ 1 - 1
myapp/src/app/tab1/tab1.page.html

@@ -76,7 +76,7 @@
           *ngFor="let recipe of recommendedRecipes"
           (click)="goToRecipeDetail(recipe.objectId)"
         >
-          <ion-card class="recipe-card-hover">
+          <ion-card class="recipe-card-hover" (click)="goToDetail()">
             <ion-img [src]="recipe.image?.url || '/assets/images/default-food.jpg'"></ion-img>
             <ion-card-content class="p-4">
               <h3 class="recipe-title">{{ recipe.title }}</h3>