design fix
Showing
... | @@ -13,10 +13,7 @@ | ... | @@ -13,10 +13,7 @@ |
<ion-content> | <ion-content> | ||
<div class="product_detail_wrapper" *ngIf="product"> | <div class="product_detail_wrapper" *ngIf="product"> | ||
<div class="product_banner"> | <div class="product_banner"> | ||
<div | <div [ngClass]="checkFavStatus(product.prodId)" (click)="changeFav(product.prodId)"></div> | ||
[ngClass]="checkFavStatus(product.prodId)" | |||
(click)="changeFav(product.prodId)" | |||
></div> | |||
<div class="featured_badge" *ngIf="product.featured">Featured</div> | <div class="featured_badge" *ngIf="product.featured">Featured</div> | ||
<ion-slides pager="true" [options]="bannerOptions" *ngIf="slideData"> | <ion-slides pager="true" [options]="bannerOptions" *ngIf="slideData"> | ||
<ion-slide *ngFor="let prodImg of slideData"> | <ion-slide *ngFor="let prodImg of slideData"> | ||
... | @@ -39,24 +36,18 @@ | ... | @@ -39,24 +36,18 @@ |
<div class="product_header"> | <div class="product_header"> | ||
<ion-row> | <ion-row> | ||
<ion-col size="8"> | <ion-col size="8"> | ||
<h3 [innerHTML]="product.prodName"></h3> | <h3>{{product.prodName}}</h3> | ||
<p> | <p> | ||
<strong | <strong><span><img src="../assets/Path61_2.png" /></span>{{product.rating}}</strong> | ||
><span><img src="../assets/Path61_2.png"/></span | {{product.category}}, {{product.subCate}} | ||
>{{product.rating}}</strong | |||
> {{product.category}}, {{product.subCate}} | |||
<br /> | <br /> | ||
<span *ngFor="let tag of product.tag" | <span *ngFor="let tag of product.tag"><span *ngIf="tag !=='No-Tag'">#{{tag}} </span></span> | ||
><span *ngIf="tag !=='No-Tag'">#{{tag}} </span></span | |||
> | |||
</p> | </p> | ||
</ion-col> | </ion-col> | ||
<ion-col size="4"> | <ion-col size="4"> | ||
<h5>A$ {{product.price}}</h5> | <h5>A$ {{product.price}}</h5> | ||
<p> | <p> | ||
<span class="offer" *ngIf="product.discount > 0" | <span class="offer" *ngIf="product.discount > 0">-{{product.discount}}%</span> | ||
>-{{product.discount}}%</span | |||
> | |||
</p> | </p> | ||
</ion-col> | </ion-col> | ||
</ion-row> | </ion-row> | ||
... | @@ -71,14 +62,8 @@ | ... | @@ -71,14 +62,8 @@ |
<li *ngIf="color !=='No-Color'"> | <li *ngIf="color !=='No-Color'"> | ||
<button id="custom_check_button"> | <button id="custom_check_button"> | ||
<label> | <label> | ||
<input | <input id="{{color}}" type="radio" name="color" value="{{color}}" | ||
id="{{color}}" | (click)="cartService.choose_color(color)" [checked]="i==0" /> | ||
type="radio" | |||
name="color" | |||
value="{{color}}" | |||
(click)="cartService.choose_color(color)" | |||
[checked]="i==0" | |||
/> | |||
<p>{{color}}</p> | <p>{{color}}</p> | ||
</label> | </label> | ||
</button> | </button> | ||
... | @@ -95,14 +80,8 @@ | ... | @@ -95,14 +80,8 @@ |
<li *ngIf="size !=='Any-Size'"> | <li *ngIf="size !=='Any-Size'"> | ||
<button id="custom_check_button"> | <button id="custom_check_button"> | ||
<label> | <label> | ||
<input | <input id="{{size}}" type="radio" name="services" value="{{size}}" | ||
id="{{size}}" | (click)="cartService.choose_size(size)" [checked]="i==0" /> | ||
type="radio" | |||
name="services" | |||
value="{{size}}" | |||
(click)="cartService.choose_size(size)" | |||
[checked]="i==0" | |||
/> | |||
<p>{{size}}</p> | <p>{{size}}</p> | ||
</label> | </label> | ||
</button> | </button> | ||
... | @@ -169,7 +148,7 @@ | ... | @@ -169,7 +148,7 @@ |
</ul> | </ul> | ||
</div> --> | </div> --> | ||
<h5>Description</h5> | <h5>Description</h5> | ||
<p [innerHTML]="product.prodDesc"></p> | <p>{{product.prodDesc}}</p> | ||
<!--<h5> | <!--<h5> | ||
<span class="floatLeft">Reviews</span><span class="floatRight" (click)="goToPage('reviewlist')">MORE</span> | <span class="floatLeft">Reviews</span><span class="floatRight" (click)="goToPage('reviewlist')">MORE</span> | ||
<div class="clear"></div> | <div class="clear"></div> | ||
... | @@ -235,10 +214,8 @@ | ... | @@ -235,10 +214,8 @@ |
</ul> | </ul> | ||
</div> --> | </div> --> | ||
<h5 *ngIf="product.similar && product.similar.length > 0"> | <h5 *ngIf="product.similar && product.similar.length > 0"> | ||
<span class="floatLeft">Related Products</span | <span class="floatLeft">Related Products</span><span class="floatRight" | ||
><span class="floatRight" (click)="goToPage('productlist', data)" | (click)="goToPage('productlist', data)">MORE</span> | ||
>MORE</span | |||
> | |||
<div class="clear"></div> | <div class="clear"></div> | ||
</h5> | </h5> | ||
<div class="related_product_slider"> | <div class="related_product_slider"> | ||
... | @@ -247,16 +224,11 @@ | ... | @@ -247,16 +224,11 @@ |
<ion-slide *ngFor="let similar of product.similar"> | <ion-slide *ngFor="let similar of product.similar"> | ||
<li (click)="viewProd(similar)"> | <li (click)="viewProd(similar)"> | ||
<div class="product_image"> | <div class="product_image"> | ||
<img | <img [src]="similar.image" onerror="this.src='../assets/[email protected]'" /> | ||
[src]="similar.image" | <div [ngClass]="checkFavStatus(similar.prodId)" (click)="changeFav(similar.prodId)"> | ||
onerror="this.src='../assets/[email protected]'" | </div> | ||
/> | |||
<div | |||
[ngClass]="checkFavStatus(similar.prodId)" | |||
(click)="changeFav(similar.prodId)" | |||
></div> | |||
</div> | </div> | ||
<h5 [innerHTML]="similar.prodName"></h5> | <h5>{{similar.prodName}}</h5> | ||
<p>{{similar.price}}</p> | <p>{{similar.price}}</p> | ||
</li> | </li> | ||
</ion-slide> | </ion-slide> | ||
... | @@ -275,19 +247,10 @@ | ... | @@ -275,19 +247,10 @@ |
<ion-footer *ngIf="product"> | <ion-footer *ngIf="product"> | ||
<div class="footer_div"> | <div class="footer_div"> | ||
<div class="footer_options"> | <div class="footer_options"> | ||
<button | <button class="share" | ||
class="share" | (click)="socialShare(product.prodName, product.category, product.subCate, product.price, product.image)"></button> | ||
(click)="socialShare(product.prodName, product.category, product.subCate, product.price, product.image)" | <button [ngClass]="checkFavStatus(product.prodId)" (click)="changeFav(product.prodId)"></button> | ||
></button> | <button class="cart" [disabled]="!disCart" (click)="buyNow(product,0)"></button> | ||
<button | |||
[ngClass]="checkFavStatus(product.prodId)" | |||
(click)="changeFav(product.prodId)" | |||
></button> | |||
<button | |||
class="cart" | |||
[disabled]="!disCart" | |||
(click)="buyNow(product,0)" | |||
></button> | |||
</div> | </div> | ||
<div class="footer_btn" (click)="buyNow(product,1)">BUY NOW</div> | <div class="footer_btn" (click)="buyNow(product,1)">BUY NOW</div> | ||
</div> | </div> | ||
... | ... |
Please
register
or
sign in
to comment