muhsin
Showing
src/app/firstpage/firstpage.module.ts
0 → 100644
src/app/firstpage/firstpage.page.html
0 → 100644
src/app/firstpage/firstpage.page.scss
0 → 100644
src/app/firstpage/firstpage.page.spec.ts
0 → 100644
src/app/firstpage/firstpage.page.ts
0 → 100644
... | ... | @@ -59,16 +59,12 @@ |
<ul> | ||
<li (click)="goToPage('productlist')"> | ||
<div class="nearby_image"> | ||
<img | ||
[src]="data.product[0].image" | ||
onerror="this.src='../assets/[email protected]'" | ||
/> | ||
<img [src]="data.product[0].image" onerror="this.src='../assets/[email protected]'" /> | ||
</div> | ||
<div class="nearby_detail"> | ||
<h5> | ||
<span class="floatLeft">{{data.shopperName}}</span> | ||
<span class="floatRight" | ||
>{{data.product[0].qty}} | ||
<span class="floatRight">{{data.product[0].qty}} | ||
<img src="../assets/Path61_2.png" /> | ||
</span> | ||
<div class="clear"></div> | ||
... | ... | @@ -86,8 +82,7 @@ |
</h6> | ||
<h5>Quantity : <span>{{product.qty}}</span></h5> | ||
<h5> | ||
Amount : <strong>A$ {{product.price}}</strong | ||
><span class="afterpay">COD</span> | ||
Amount : <strong>A$ {{product.price}}</strong><span class="afterpay">COD</span> | ||
</h5> | ||
<h5 *ngIf="data.orderStatus >= 3 && data.orderStatus < 7"> | ||
Delivery time : <span>{{deliveryTime}}</span> | ||
... | ... | @@ -95,12 +90,8 @@ |
<h5>Order Status : <span>{{getStatus(data.orderStatus)}}</span></h5> | ||
<div class="delivery-wrap"> | ||
<h4 class="floatLeft">DELIVERY</h4> | ||
<span class="floatRight" | ||
><img | ||
class="ng-tns-c3-0" | ||
src="../../assets/edit.png" | ||
(click)="goToPage('changeaddress')" | ||
/></span> | ||
<span class="floatRight" *ngIf="cancelDelivery > 0 && data.orderStatus != 0 && data.orderStatus != 8"><img | ||
class="ng-tns-c3-0" src="../../assets/edit.png" (click)="changeAddress(data.orderId)" /></span> | ||
<div class="clear"></div> | ||
</div> | ||
... | ... | @@ -110,11 +101,8 @@ |
{{data.deliveryAddress.building}}, <br /> | ||
{{data.deliveryAddress.landmark}} | ||
</h5> | ||
<button | ||
class="cancel_btn" | ||
(click)="goToPage('contact')" | ||
*ngIf="cancelDelivery > 0 && data.orderStatus != 0 && data.orderStatus != 8" | ||
> | ||
<button class="cancel_btn" (click)="goToPage('contact')" | ||
*ngIf="cancelDelivery > 0 && data.orderStatus != 0 && data.orderStatus != 8"> | ||
CANCEL THIS ORDER | ||
</button> | ||
<!-- <hr /> --> | ||
... | ... | @@ -176,4 +164,4 @@ |
</ul> | ||
</div> --> | ||
</div> | ||
</ion-content> | ||
</ion-content> | ||
\ No newline at end of file |
... | ... | @@ -3,22 +3,10 @@ |
<img src="../assets/Group17_2.png" /> | ||
</button> | ||
<div class="nav_title floatLeft"> | ||
<input | ||
class="search_bar" | ||
placeholder="Search here.. eg:shirts, retailers etc..." | ||
(click)="clickSearch()" | ||
/> | ||
<input class="search_bar" placeholder="Search here.. eg:shirts, retailers etc..." (click)="clickSearch()" /> | ||
</div> | ||
<button | ||
class="nav_btn nav_search floatRight" | ||
*ngIf="!searchShow" | ||
(click)="clickSearch()" | ||
></button> | ||
<button | ||
class="nav_btn nav_close floatRight" | ||
*ngIf="searchShow" | ||
(click)="searchClose()" | ||
></button> | ||
<button class="nav_btn nav_search floatRight" *ngIf="!searchShow" (click)="clickSearch()"></button> | ||
<button class="nav_btn nav_close floatRight" *ngIf="searchShow" (click)="searchClose()"></button> | ||
<div class="clear"></div> | ||
</div> | ||
<ion-content> | ||
... | ... | @@ -26,11 +14,7 @@ |
<div class="product_taskbar"> | ||
<div class="filter floatLeft" (click)="istoggle()"></div> | ||
<div class="viewset floatRight"> | ||
<div | ||
class="grid_view grid_act floatRight" | ||
(click)="gridToggle()" | ||
[class.line_view]="onGrid" | ||
></div> | ||
<div class="grid_view grid_act floatRight" (click)="gridToggle()" [class.line_view]="onGrid"></div> | ||
<div class="clear"></div> | ||
</div> | ||
<div class="clear"></div> | ||
... | ... | @@ -38,30 +22,18 @@ |
<div class="product_title" *ngIf="data"> | ||
{{data.shopName}} | ||
</div> | ||
<ul | ||
[class.grid_view]="onGrid" | ||
*ngIf="prodService.product && prodService.product.length > 0" | ||
> | ||
<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"> | ||
<div class="load-back"> | ||
<img | ||
[src]="product.image" | ||
onerror="this.src='../assets/[email protected]'" | ||
(click)="prodDetails(i)" | ||
/> | ||
<img [src]="product.image" onerror="this.src='../assets/[email protected]'" (click)="prodDetails(i)" /> | ||
</div> | ||
<div | ||
[ngClass]="checkFavStatus(product.prodId)" | ||
(click)="changeFav(product.prodId)" | ||
></div> | ||
<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> | ||
<h5 class="ellipse" (click)="prodDetails(i)" [innerHTML]="unEscape(product.prodName)"></h5> | ||
<p (click)="prodDetails(i)"> | ||
A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0" | ||
>-{{product.discount}}%</span | ||
> | ||
A$ {{product.price}}<span class="offer" *ngIf="product.discount > 0">-{{product.discount}}%</span> | ||
</p> | ||
</li> | ||
</ul> | ||
... | ... | @@ -110,47 +82,23 @@ |
<label for="styled-checkbox-2">Relevence</label> | ||
</li> --> | ||
<li> | ||
<input | ||
class="styled-checkbox" | ||
id="styled-checkbox-1" | ||
type="radio" | ||
value="newest" | ||
name="sort" | ||
(click)="setValue($event.target.value)" | ||
/> | ||
<input class="styled-checkbox" id="styled-checkbox-1" type="radio" value="newest" name="sort" | ||
(click)="setValue($event.target.value)" /> | ||
<label for="styled-checkbox-1">Newest First</label> | ||
</li> | ||
<li> | ||
<input | ||
class="styled-checkbox" | ||
id="styled-checkbox-5" | ||
type="radio" | ||
value="a-z" | ||
name="sort" | ||
(click)="setValue($event.target.value)" | ||
/> | ||
<input class="styled-checkbox" id="styled-checkbox-5" type="radio" value="a-z" name="sort" | ||
(click)="setValue($event.target.value)" /> | ||
<label for="styled-checkbox-5">Name A - Z</label> | ||
</li> | ||
<li> | ||
<input | ||
class="styled-checkbox" | ||
id="styled-checkbox-3" | ||
type="radio" | ||
value="low" | ||
name="sort" | ||
(click)="setValue($event.target.value)" | ||
/> | ||
<input class="styled-checkbox" id="styled-checkbox-3" type="radio" value="low" name="sort" | ||
(click)="setValue($event.target.value)" /> | ||
<label for="styled-checkbox-3">Price Low - High</label> | ||
</li> | ||
<li> | ||
<input | ||
class="styled-checkbox" | ||
id="styled-checkbox-4" | ||
type="radio" | ||
value="high" | ||
name="sort" | ||
(click)="setValue($event.target.value)" | ||
/> | ||
<input class="styled-checkbox" id="styled-checkbox-4" type="radio" value="high" name="sort" | ||
(click)="setValue($event.target.value)" /> | ||
<label for="styled-checkbox-4">Price High - Low</label> | ||
</li> | ||
... | ... | @@ -174,4 +122,4 @@ |
<div></div> | ||
</div> | ||
</div> | ||
</ion-content> | ||
</ion-content> | ||
\ No newline at end of file |
src/config/safehtml.ts
0 → 100644
Please
register
or
sign in
to comment