customer
Showing
This diff is collapsed.
Click to expand it.
src/app/failed/failed.module.ts
0 → 100644
src/app/failed/failed.page.html
0 → 100644
src/app/failed/failed.page.scss
0 → 100644
src/app/failed/failed.page.spec.ts
0 → 100644
src/app/failed/failed.page.ts
0 → 100644
... | ... | @@ -44,11 +44,13 @@ |
> | ||
<li *ngFor="let product of prodService.product; let i = index"> | ||
<div class="product_image"> | ||
<img | ||
[src]="product.image" | ||
onerror="this.src='../assets/[email protected]'" | ||
(click)="prodDetails(i)" | ||
/> | ||
<div class="load-back"> | ||
<img | ||
[src]="product.image" | ||
onerror="this.src='../assets/[email protected]'" | ||
(click)="prodDetails(i)" | ||
/> | ||
</div> | ||
<div | ||
[ngClass]="checkFavStatus(product.prodId)" | ||
(click)="changeFav(product.prodId)" | ||
... | ... | @@ -63,11 +65,37 @@ |
</p> | ||
</li> | ||
</ul> | ||
<div class="no-result-wrapper" *ngIf="prodService.product.length === 0"> | ||
<img src="../../assets/basket.png" /> | ||
<h1>No result found</h1> | ||
<button (click)="goToPage('home')">home</button> | ||
</div> | ||
</div> | ||
<ul | ||
[class.grid_view]="onGrid" | ||
*ngIf="prodService.product && prodService.product.length > 0" | ||
> | ||
<li *ngFor="let product of prodService.product; let i = index"> | ||
<div class="product_image"> | ||
<img | ||
[src]="product.image" | ||
onerror="this.src='../assets/[email protected]'" | ||
(click)="prodDetails(i)" | ||
/> | ||
<div | ||
[ngClass]="checkFavStatus(product.prodId)" | ||
(click)="changeFav(product.prodId)" | ||
></div> | ||
<div class="featured_badge" *ngIf="product.featured">Featured</div> | ||
</div> | ||
<h5 class="ellipse" (click)="prodDetails(i)">{{product.prodName}}</h5> | ||
<p (click)="prodDetails(i)"> | ||
A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0" | ||
>-{{product.discount}}%</span | ||
> | ||
</p> | ||
</li> | ||
</ul> | ||
<div class="no-result-wrapper" *ngIf="prodService.product.length === 0"> | ||
<img src="../../assets/basket.png" /> | ||
<h1>No result found</h1> | ||
<button (click)="goToPage('home')">home</button> | ||
</div> | ||
<div class="sort_wrappper" *ngIf="isShow" [@slideInOut]> | ||
<div class="sort_inner"> | ||
... | ... |
This diff is collapsed.
Click to expand it.
src/app/success/success.module.ts
0 → 100644
src/app/success/success.page.html
0 → 100644
src/app/success/success.page.scss
0 → 100644
.success_wrapper { | ||
width: 100%; | ||
.cart_head { | ||
width: 100%; | ||
height: auto; | ||
background-image: url("../../assets/[email protected]"); | ||
background-position: center bottom; | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
padding-bottom: 35px; | ||
.nav_header { | ||
position: static; | ||
background-color: transparent; | ||
.nav_title { | ||
h4 { | ||
color: #FFF; | ||
} | ||
} | ||
} | ||
.cart_menu_header { | ||
padding: 50px 20px 20px 20px; | ||
ul { | ||
margin: 0px; | ||
padding: 10px; | ||
background-color: rgba(273, 273, 273, 0.1); | ||
border-radius: 10px; | ||
li { | ||
list-style: none; | ||
color: #FFF; | ||
width: 20%; | ||
display: inline-block; | ||
font-weight: 700; | ||
font-size: 13px; | ||
hr { | ||
height: 0px; | ||
border-top: none; | ||
width: 90%; | ||
margin-top: 0px; | ||
margin-bottom: 0px; | ||
position: relative; | ||
margin: 0 auto; | ||
border-bottom: 2px dashed rgba(176, 174, 199, 1); | ||
bottom: 4px; | ||
} | ||
} | ||
} | ||
} | ||
.success-set { | ||
text-align: center; | ||
margin-top: 50px; | ||
img { | ||
width: 75px; | ||
} | ||
h1 { | ||
color: #fff; | ||
font-size: 18px; | ||
font-weight: bolder; | ||
margin-top: 5px; | ||
margin-bottom: 0; | ||
text-transform: uppercase; | ||
} | ||
h2 { | ||
color: #fff; | ||
font-size: 12px; | ||
font-weight: lighter; | ||
margin-top: 2px; | ||
} | ||
} | ||
} | ||
.product-countdown { | ||
padding: 20px; | ||
text-align: center; | ||
margin-top: 25px; | ||
h1 { | ||
color: #B0AEC7; | ||
font-size: 16px; | ||
margin-top: 10px; | ||
} | ||
h2 { | ||
color: #3B394D; | ||
font-size: 40px; | ||
font-weight: bolder; | ||
margin-top: 15px; | ||
span { | ||
font-size: 16px; | ||
font-weight: lighter; | ||
} | ||
} | ||
button { | ||
background-color: #29285b; | ||
border-radius: 8px; | ||
height: 50px; | ||
width: 48%; | ||
color: #fff; | ||
font-size: 18px; | ||
font-weight: lighter; | ||
text-transform: uppercase; | ||
margin-top: 25px; | ||
margin-bottom: 50px; | ||
} | ||
h3 { | ||
color: #29285b; | ||
background: none; | ||
font-size: 20px; | ||
font-weight: bolder; | ||
text-transform: uppercase; | ||
margin-top: 20px; | ||
margin-bottom: 50px; | ||
} | ||
} | ||
} | ||
@media only screen and (max-width: 350px) { | ||
.cart_head { | ||
padding-bottom: 15px !important; | ||
.cart_menu_header { | ||
padding: 20px !important; | ||
ul { | ||
li { | ||
font-size: 12px !important; | ||
} | ||
} | ||
} | ||
.success-set { | ||
margin-top: 0 !important; | ||
} | ||
} | ||
} | ||
\ No newline at end of file |
src/app/success/success.page.spec.ts
0 → 100644
src/app/success/success.page.ts
0 → 100644
src/assets/failed.png
0 → 100644
4.95 KB
src/assets/giphy.gif
0 → 100644
8.61 KB