bug
Showing
| <ion-content> | <ion-content> | ||
| <div class="cart_wrapper" *ngIf="data"> | <div class="cart_wrapper" *ngIf="data"> | ||
| <div class="cart_head"> | <div class="cart_head"> | ||
| <div class="nav_header"> | <div class="nav_header"> | ||
| <button class="nav_btn nav_back_white floatLeft" (click)="goBack()"> | <button class="nav_btn nav_back_white floatLeft" (click)="goBack()"> | ||
| <img src="../assets/arrow_white.png"> | <img src="../assets/arrow_white.png" /> | ||
| </button> | </button> | ||
| <div class="nav_title floatLeft"> | <div class="nav_title floatLeft"> | ||
| <h4></h4> | <h4></h4> | ||
| </div> | |||
| <button class="nav_btn floatRight"> | |||
| </button> | |||
| <div class="clear"></div> | |||
| </div> | |||
| <img src="../assets/white_tick.png"> | |||
| <h4>ORDER IS PLACED</h4> | |||
| <p>{{ data.bookDate.seconds * 1000 | date:'MMMM dd, y' }}</p> | |||
| </div> | </div> | ||
| <div class="order_status"> | <button class="nav_btn floatRight"></button> | ||
| <div class="clear"></div> | |||
| <div class="clear"></div> | </div> | ||
| <div class="status_div go_green"> | <img src="../assets/white_tick.png" /> | ||
| <h4>Order Placed</h4> | <h4>ORDER IS PLACED</h4> | ||
| <h6>{{ data.bookDate.seconds * 1000 | date:'MMMM dd, y' }}</h6> | <p>{{ data.bookDate.seconds * 1000 | date:'MMMM dd, y' }}</p> | ||
| </div> | </div> | ||
| <!-- <div class="status_gap go_green"> | <div class="order_status"> | ||
| <div class="clear"></div> | |||
| <div class="status_div go_green"> | |||
| <h4>Order Placed</h4> | |||
| <h6>{{ data.bookDate.seconds * 1000 | date:'MMMM dd, y' }}</h6> | |||
| </div> | |||
| <!-- <div class="status_gap go_green"> | |||
| </div> | </div> | ||
| <div class="status_div go_green"> | <div class="status_div go_green"> | ||
| <h4>Retailer Accepted</h4> | <h4>Retailer Accepted</h4> | ||
| ... | @@ -56,41 +54,56 @@ | ... | @@ -56,41 +54,56 @@ |
| <div class="status_div"> | <div class="status_div"> | ||
| <h4>Your product is delivered</h4> | <h4>Your product is delivered</h4> | ||
| </div> --> | </div> --> | ||
| </div> | </div> | ||
| <div class="nearby_shop_list"> | <div class="nearby_shop_list"> | ||
| <ul> | <ul> | ||
| <li (click)="goToPage('productlist')"> | <li (click)="goToPage('productlist')"> | ||
| <div class="nearby_image"> | <div class="nearby_image"> | ||
| <img src="../assets/[email protected]"> | <img | ||
| </div> | [src]="data.product[0].image" | ||
| <div class="nearby_detail"> | onerror="this.src='../assets/[email protected]'" | ||
| <h5> | /> | ||
| <span class="floatLeft">{{data.shopperName}}</span> | </div> | ||
| <span class="floatRight">0 | <div class="nearby_detail"> | ||
| <img src="../assets/Path61_2.png"> | |||
| </span> | |||
| <div class="clear"></div> | |||
| </h5> | |||
| <p>Men's & Women's Fashion</p> | |||
| </div> | |||
| <div class="clear"></div> | |||
| </li> | |||
| </ul> | |||
| </div> | |||
| <div class="product_detail" *ngFor="let product of data.product"> | |||
| <h6>{{product.color}}, {{product.size}}</h6> | |||
| <h5>Quantity : <span>{{product.qty}}</span></h5> | |||
| <h5>Amount : <strong>A$ {{product.price}}</strong><span class="afterpay">COD</span></h5> | |||
| <h5>Delivery time : <span>Delivery in 1 hour</span></h5> | |||
| <h4>DELIVERY</h4> | |||
| <h5> | <h5> | ||
| {{deliveryAddress}} | <span class="floatLeft">{{data.shopperName}}</span> | ||
| <span class="floatRight" | |||
| >{{data.product[0].qty}} | |||
| <img src="../assets/Path61_2.png" /> | |||
| </span> | |||
| <div class="clear"></div> | |||
| </h5> | </h5> | ||
| <button class="cancel_btn" (click)="goToPage('ordercancelled')">CANCEL THIS ORDER</button> | <p class="prodName">{{data.product[0].prodName}}</p> | ||
| <hr> | </div> | ||
| </div> | <div class="clear"></div> | ||
| </li> | |||
| </ul> | |||
| </div> | |||
| <div class="product_detail" *ngFor="let product of data.product"> | |||
| <h6> | |||
| <span *ngIf="product.color !== 'No-Color'">{{product.color}}, </span> | |||
| <span *ngIf="product.size !== 'Any-Size'">{{product.size}}</span> | |||
| </h6> | |||
| <h5>Quantity : <span>{{product.qty}}</span></h5> | |||
| <h5> | |||
| Amount : <strong>A$ {{product.price}}</strong | |||
| ><span class="afterpay">COD</span> | |||
| </h5> | |||
| <h5>Delivery time : <span>{{deliveryTime}}</span></h5> | |||
| <h4>DELIVERY</h4> | |||
| <h5 *ngIf="data.deliveryAddress"> | |||
| {{data.deliveryAddress.addressType}},<br />{{data.deliveryAddress.address}}, | |||
| <br /> | |||
| {{data.deliveryAddress.building}}, <br /> | |||
| {{data.deliveryAddress.landmark}} | |||
| </h5> | |||
| <button class="cancel_btn" (click)="goToPage('ordercancelled')"> | |||
| CANCEL THIS ORDER | |||
| </button> | |||
| <hr /> | |||
| </div> | |||
| <!-- <div class="related_product_slider"> | <!-- <div class="related_product_slider"> | ||
| <h5> | <h5> | ||
| <span class="floatLeft">Related Products</span><span class="floatRight">MORE</span> | <span class="floatLeft">Related Products</span><span class="floatRight">MORE</span> | ||
| <div class="clear"></div> | <div class="clear"></div> | ||
| ... | @@ -145,5 +158,5 @@ | ... | @@ -145,5 +158,5 @@ |
| </ion-slides> | </ion-slides> | ||
| </ul> | </ul> | ||
| </div> --> | </div> --> | ||
| </div> | </div> | ||
| </ion-content> | </ion-content> | ||
| \ No newline at end of file |
| .cart_wrapper { | .cart_wrapper { | ||
| width: 100%; | |||
| .cart_head { | |||
| width: 100%; | width: 100%; | ||
| .cart_head { | height: 240px; | ||
| width: 100%; | text-align: center; | ||
| height: 240px; | background-image: url('../../assets/[email protected]'); | ||
| text-align: center; | background-position: center bottom; | ||
| background-image: url("../../assets/[email protected]"); | background-repeat: no-repeat; | ||
| background-position: center bottom; | background-size: cover; | ||
| background-repeat: no-repeat; | .nav_header { | ||
| background-size: cover; | position: static; | ||
| .nav_header { | background-color: transparent; | ||
| position: static; | .nav_title { | ||
| background-color: transparent; | |||
| .nav_title { | |||
| h4 { | |||
| color: #FFF; | |||
| } | |||
| } | |||
| } | |||
| img { | |||
| width: 70px; | |||
| } | |||
| h4 { | h4 { | ||
| color: #fff; | color: #fff; | ||
| font-weight: bolder; | |||
| margin-bottom: 5px; | |||
| text-align: center; | |||
| } | |||
| p { | |||
| color: rgba(215, 213, 228, 1); | |||
| margin: 0px; | |||
| padding: 0px; | |||
| font-size: 14px; | |||
| text-align: center; | |||
| } | } | ||
| } | |||
| } | } | ||
| .order_status { | img { | ||
| width: 100%; | width: 70px; | ||
| padding: 20px; | |||
| .track_btn { | |||
| border-radius: 5px; | |||
| height: 40px; | |||
| background-color: #29285b; | |||
| color: #FFF; | |||
| font-size: 18px; | |||
| font-weight: lighter; | |||
| padding-left: 20px; | |||
| padding-right: 20px; | |||
| } | |||
| .status_div { | |||
| margin-bottom: 10px; | |||
| margin-top: 10px; | |||
| h4 { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(215, 213, 228, 1); | |||
| } | |||
| h6 { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(215, 213, 228, 1); | |||
| } | |||
| } | |||
| .go_green { | |||
| h4 { | |||
| color: rgba(53, 203, 171, 1); | |||
| } | |||
| } | |||
| .go_green.status_gap { | |||
| border-left: 2px dashed rgba(53, 203, 171, 1); | |||
| } | |||
| .status_gap { | |||
| border-left: 2px dashed rgba(215, 213, 228, 1); | |||
| height: 30px; | |||
| } | |||
| } | } | ||
| .nearby_shop_list { | h4 { | ||
| ul { | color: #fff; | ||
| margin: 0px; | font-weight: bolder; | ||
| padding-left: 10px; | margin-bottom: 5px; | ||
| padding-right: 10px; | text-align: center; | ||
| li { | |||
| list-style: none; | |||
| padding-bottom: 10px; | |||
| .nearby_image { | |||
| width: 120px; | |||
| height: 120px; | |||
| float: left; | |||
| background-color: #a8a8a8; | |||
| border-radius: 8px; | |||
| img { | |||
| width: 100%; | |||
| height: 100%; | |||
| object-fit: cover; | |||
| object-position: center; | |||
| } | |||
| } | |||
| .nearby_detail { | |||
| width: calc(100% - 120px); | |||
| float: left; | |||
| padding-left: 20px; | |||
| padding-top: 40px; | |||
| h5 { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(59, 57, 77, 1); | |||
| font-weight: 900; | |||
| padding-bottom: 2px; | |||
| img { | |||
| width: 16px; | |||
| } | |||
| } | |||
| p { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(176, 174, 199); | |||
| } | |||
| } | |||
| } | |||
| } | |||
| } | } | ||
| .product_detail { | p { | ||
| padding: 10px; | color: rgba(215, 213, 228, 1); | ||
| hr { | margin: 0px; | ||
| border-bottom: 1px solid rgba(176, 174, 199); | padding: 0px; | ||
| height: 0px; | font-size: 14px; | ||
| border-top: none; | text-align: center; | ||
| } | } | ||
| h6 { | } | ||
| margin: 0px; | .order_status { | ||
| padding: 0px; | width: 100%; | ||
| color: #29285b; | padding: 20px; | ||
| font-size: 18px; | .track_btn { | ||
| padding-bottom: 15px; | border-radius: 5px; | ||
| height: 40px; | |||
| background-color: #29285b; | |||
| color: #fff; | |||
| font-size: 18px; | |||
| font-weight: lighter; | |||
| padding-left: 20px; | |||
| padding-right: 20px; | |||
| } | |||
| .status_div { | |||
| margin-bottom: 10px; | |||
| margin-top: 10px; | |||
| h4 { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(215, 213, 228, 1); | |||
| } | |||
| h6 { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(215, 213, 228, 1); | |||
| } | |||
| } | |||
| .go_green { | |||
| h4 { | |||
| color: rgba(53, 203, 171, 1); | |||
| } | |||
| } | |||
| .go_green.status_gap { | |||
| border-left: 2px dashed rgba(53, 203, 171, 1); | |||
| } | |||
| .status_gap { | |||
| border-left: 2px dashed rgba(215, 213, 228, 1); | |||
| height: 30px; | |||
| } | |||
| } | |||
| .nearby_shop_list { | |||
| ul { | |||
| margin: 0px; | |||
| padding-left: 10px; | |||
| padding-right: 10px; | |||
| li { | |||
| list-style: none; | |||
| padding-bottom: 10px; | |||
| .nearby_image { | |||
| width: 120px; | |||
| height: 120px; | |||
| float: left; | |||
| background-color: #a8a8a8; | |||
| border-radius: 8px; | |||
| img { | |||
| width: 100%; | |||
| height: 100%; | |||
| object-fit: cover; | |||
| object-position: center; | |||
| } | |||
| } | } | ||
| h5 { | .nearby_detail { | ||
| width: calc(100% - 120px); | |||
| float: left; | |||
| padding-left: 20px; | |||
| padding-top: 40px; | |||
| h5 { | |||
| margin: 0px; | margin: 0px; | ||
| padding: 0px; | padding: 0px; | ||
| color: rgba(176, 174, 199, 1); | color: rgba(59, 57, 77, 1); | ||
| font-size: 18px; | font-weight: 900; | ||
| line-height: 25px; | padding-bottom: 2px; | ||
| padding-bottom: 15px; | img { | ||
| strong { | width: 16px; | ||
| color: rgba(41, 40, 91, 1); | |||
| } | |||
| span { | |||
| color: rgba(41, 40, 91, 1); | |||
| } | |||
| .afterpay { | |||
| color: rgba(206, 153, 76, 1); | |||
| padding-left: 10px; | |||
| } | } | ||
| } | } | ||
| h4 { | p { | ||
| color: rgba(41, 40, 91, 1); | |||
| margin: 0px; | margin: 0px; | ||
| font-weight: 900; | padding: 0px; | ||
| font-size: 18px; | color: rgba(176, 174, 199); | ||
| padding-top: 20px; | } | ||
| padding-bottom: 10px; | |||
| } | } | ||
| .cancel_btn { | } | ||
| border-radius: 8px; | } | ||
| height: 45px; | } | ||
| .product_detail { | |||
| padding: 10px; | |||
| hr { | |||
| border-bottom: 1px solid rgba(176, 174, 199); | |||
| height: 0px; | |||
| border-top: none; | |||
| } | |||
| h6 { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: #29285b; | |||
| font-size: 18px; | |||
| padding-bottom: 15px; | |||
| } | |||
| h5 { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(176, 174, 199, 1); | |||
| font-size: 18px; | |||
| line-height: 25px; | |||
| padding-bottom: 15px; | |||
| strong { | |||
| color: rgba(41, 40, 91, 1); | |||
| } | |||
| span { | |||
| color: rgba(41, 40, 91, 1); | |||
| } | |||
| .afterpay { | |||
| color: rgba(206, 153, 76, 1); | |||
| padding-left: 10px; | |||
| } | |||
| } | |||
| h4 { | |||
| color: rgba(41, 40, 91, 1); | |||
| margin: 0px; | |||
| font-weight: 900; | |||
| font-size: 18px; | |||
| padding-top: 20px; | |||
| padding-bottom: 10px; | |||
| } | |||
| .cancel_btn { | |||
| border-radius: 8px; | |||
| height: 45px; | |||
| width: 100%; | |||
| background-color: #29285b; | |||
| color: #fff; | |||
| font-size: 18px; | |||
| font-weight: lighter; | |||
| padding-left: 20px; | |||
| padding-right: 20px; | |||
| margin-bottom: 20px; | |||
| margin-top: 20px; | |||
| } | |||
| } | |||
| .related_product_slider { | |||
| h5 { | |||
| color: rgba(41, 40, 91, 1); | |||
| margin: 0px; | |||
| padding: 10px; | |||
| font-weight: 900; | |||
| font-size: 18px; | |||
| } | |||
| p { | |||
| color: rgba(59, 57, 77, 1); | |||
| padding: 10px; | |||
| text-align: justify; | |||
| margin: 0px; | |||
| font-size: 18px; | |||
| } | |||
| ul { | |||
| padding: 10px; | |||
| padding-bottom: 0px; | |||
| padding-top: 0px; | |||
| margin: 0px; | |||
| li { | |||
| width: 100%; | |||
| display: inline-block; | |||
| border-top: none; | |||
| border-bottom: none; | |||
| margin-bottom: 10px; | |||
| .product_image { | |||
| height: 235px; | |||
| position: relative; | |||
| .featured_badge { | |||
| position: absolute; | |||
| top: 20px; | |||
| left: 0px; | |||
| color: #fff; | |||
| background-color: rgba(41, 40, 91, 1); | |||
| padding: 2px; | |||
| padding-left: 10px; | |||
| padding-right: 10px; | |||
| font-size: 13px; | |||
| } | |||
| .fav_icon { | |||
| position: absolute; | |||
| top: 10px; | |||
| right: 10px; | |||
| font-size: 27px; | |||
| width: 30px; | |||
| height: 30px; | |||
| background-image: url('../../assets/Group32_2.png'); | |||
| background-position: center; | |||
| background-repeat: no-repeat; | |||
| background-size: 24px; | |||
| } | |||
| img { | |||
| width: 100%; | width: 100%; | ||
| background-color: #29285b; | height: 100%; | ||
| color: #FFF; | object-fit: cover; | ||
| font-size: 18px; | object-position: center; | ||
| font-weight: lighter; | } | ||
| padding-left: 20px; | |||
| padding-right: 20px; | |||
| margin-bottom: 20px; | |||
| margin-top: 20px; | |||
| } | } | ||
| } | |||
| .related_product_slider { | |||
| h5 { | h5 { | ||
| color: rgba(41, 40, 91, 1); | margin: 0px; | ||
| margin: 0px; | padding: 0px; | ||
| padding: 10px; | color: rgba(59, 57, 77, 1); | ||
| font-weight: 900; | padding-top: 5px; | ||
| font-size: 18px; | padding-bottom: 5px; | ||
| font-weight: 500; | |||
| text-align: left; | |||
| font-size: 16px; | |||
| white-space: nowrap; | |||
| overflow: hidden; | |||
| text-overflow: ellipsis; | |||
| } | } | ||
| p { | p { | ||
| color: rgba(59, 57, 77, 1); | margin: 0px; | ||
| padding: 10px; | padding: 0px; | ||
| text-align: justify; | color: rgba(176, 174, 199, 1); | ||
| margin: 0px; | font-size: 12px; | ||
| font-size: 18px; | text-align: left; | ||
| } | span { | ||
| ul { | text-decoration: line-through; | ||
| padding: 10px; | margin-left: 10px; | ||
| padding-bottom: 0px; | color: rgba(215, 213, 228, 1); | ||
| padding-top: 0px; | } | ||
| margin: 0px; | .offer { | ||
| li { | color: #fff; | ||
| width: 100%; | background-color: rgba(41, 40, 91, 1); | ||
| display: inline-block; | border-radius: 4px; | ||
| border-top: none; | text-decoration: none; | ||
| border-bottom: none; | padding: 3px; | ||
| margin-bottom: 10px; | font-size: 13px; | ||
| .product_image { | } | ||
| height: 235px; | |||
| position: relative; | |||
| .featured_badge { | |||
| position: absolute; | |||
| top: 20px; | |||
| left: 0px; | |||
| color: #fff; | |||
| background-color: rgba(41, 40, 91, 1); | |||
| padding: 2px; | |||
| padding-left: 10px; | |||
| padding-right: 10px; | |||
| font-size: 13px; | |||
| } | |||
| .fav_icon { | |||
| position: absolute; | |||
| top: 10px; | |||
| right: 10px; | |||
| font-size: 27px; | |||
| width: 30px; | |||
| height: 30px; | |||
| background-image: url("../../assets/Group32_2.png"); | |||
| background-position: center; | |||
| background-repeat: no-repeat; | |||
| background-size: 24px; | |||
| } | |||
| img { | |||
| width: 100%; | |||
| height: 100%; | |||
| object-fit: cover; | |||
| object-position: center; | |||
| } | |||
| } | |||
| h5 { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(59, 57, 77, 1); | |||
| padding-top: 5px; | |||
| padding-bottom: 5px; | |||
| font-weight: 500; | |||
| text-align: left; | |||
| font-size: 16px; | |||
| white-space: nowrap; | |||
| overflow: hidden; | |||
| text-overflow: ellipsis; | |||
| } | |||
| p { | |||
| margin: 0px; | |||
| padding: 0px; | |||
| color: rgba(176, 174, 199, 1); | |||
| font-size: 12px; | |||
| text-align: left; | |||
| span { | |||
| text-decoration: line-through; | |||
| margin-left: 10px; | |||
| color: rgba(215, 213, 228, 1) | |||
| } | |||
| .offer { | |||
| color: #fff; | |||
| background-color: rgba(41, 40, 91, 1); | |||
| border-radius: 4px; | |||
| text-decoration: none; | |||
| padding: 3px; | |||
| font-size: 13px; | |||
| } | |||
| } | |||
| } | |||
| } | } | ||
| } | |||
| } | } | ||
| } | } | ||
| \ No newline at end of file | } | ||
| .prodName { | |||
| white-space: nowrap; | |||
| width: 200px; | |||
| overflow: hidden; | |||
| text-overflow: ellipsis; | |||
| } |
Please
register
or
sign in
to comment