Advertisement
ahmadtri26

order dulu bang

Jan 5th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. <!--
  2. Generated template for the ItemReviewOrderPage page.
  3.  
  4. See http://ionicframework.com/docs/components/#navigation for more info on
  5. Ionic pages and navigation.
  6. -->
  7. <ion-header>
  8.  
  9. <ion-navbar>
  10. <ion-title>Item Review</ion-title>
  11. </ion-navbar>
  12.  
  13. </ion-header>
  14.  
  15. <div *ngIf="show_image" class="backdrop"></div>
  16.  
  17. <ion-card *ngIf="show_image" class="card_showimage">
  18.  
  19. <ion-toolbar color="primary" no-padding>
  20. <ion-row align-items-center>
  21. <ion-col col-2 self-align-center></ion-col>
  22. <ion-col col-8 self-align-center>
  23. <ion-label class="toolbarTitle">{{name}}</ion-label>
  24. </ion-col>
  25. <ion-col col-2 self-align-end>
  26. <ion-buttons end>
  27. <button (click)="close()" small ion-button color="danger" icon-only>
  28. <ion-icon name="md-close"></ion-icon>
  29. </button>
  30. </ion-buttons>
  31. </ion-col>
  32. </ion-row>
  33. </ion-toolbar>
  34.  
  35. <ion-grid>
  36. <ion-row align-items-center>
  37. <ion-col self-align-center>
  38. <div class="foodImageFrame">
  39. <img class="foodImage" src="{{image}}">
  40. </div>
  41. </ion-col>
  42. </ion-row>
  43.  
  44. </ion-grid>
  45.  
  46. </ion-card>
  47.  
  48.  
  49. <ion-content *ngFor="let item of list_item">
  50. <ion-item>
  51. <ion-thumbnail item-start (click)="showImage(item.img, item.name)">
  52. <img src="{{item.img}}">
  53. </ion-thumbnail>
  54. <h2>{{item.name}}</h2>
  55. </ion-item>
  56. <div>&nbsp;</div>
  57. <div>&nbsp;</div>
  58. <div class="item-detail">
  59. <ion-row>
  60. <ion-col>
  61. <h5 style="font-weight: bold; font-size: large">
  62. {{"cring.label_quantity"|translate}}
  63. </h5>
  64. </ion-col>
  65. <ion-col col-5 self-align-center>
  66. <ion-row align-items-center>
  67. <ion-col tappable (click)="minus(item)" self-align-center style="text-align: center;">
  68. <ion-icon style="font-size: 35px; color: #0844a6" name="md-remove-circle" color="default"></ion-icon>
  69. </ion-col>
  70.  
  71. <ion-col self-align-center class="qty_box">
  72. <div text-center>{{item.qty}}</div>
  73. </ion-col>
  74.  
  75. <ion-col tappable (click)="plus(item)" self-align-center style="text-align: center;">
  76. <ion-icon style="font-size: 35px; color: #0844a6" name="md-add-circle"></ion-icon>
  77. </ion-col>
  78. </ion-row>
  79. </ion-col>
  80. </ion-row>
  81. </div>
  82. <div class="item-detail">
  83. <h5 style="font-weight: bold; font-size: large">
  84. {{"cring.label_notes_for_seller"|translate}}
  85. </h5>
  86. <ion-textarea [(ngModel)]="item.note" rows="3" maxLength="500" placeholder="{{'cring.label_add_notes'|translate}}" name="note" clearInput value={{item.note}} ></ion-textarea>
  87. </div>
  88.  
  89. <div class="item-detail">
  90. <h5 style="font-weight: bold; font-size: large" icon-right>
  91. {{"cring.label_shipping_destination"|translate}}
  92. </h5>
  93. <ion-icon name="hammer" (click)="gotoEditAddress()"></ion-icon>
  94. <ion-list *ngIf="showChosenAddress">
  95. <ion-item>
  96. <label stacked>Name Receiver</label>
  97. <h1>{{chosenAddress.name}}</h1>
  98. <label stacked>Address</label>
  99. <h2>{{chosenAddress.address}}</h2>
  100. <label stacked>Province</label>
  101. <h3>{{chosenAddress.province}}</h3>
  102. <label stacked>Postal Code</label>
  103. <h4>{{chosenAddress.postalCode}}</h4>
  104. <label stacked>Pickup Location</label>
  105. <h4>{{chosenAddress.pickupLocation}}</h4>
  106. </ion-item>
  107. </ion-list>
  108. </div>
  109.  
  110. <div class="item-detail">
  111. <h5 style="font-weight: bold; font-size: large">
  112. {{"cring.label_shipping_agency"|translate}}
  113. </h5>
  114. <ion-list radio-group *ngFor="let agency of shippingAgencyFinal; let i = index" [attr.data-index]="i">
  115. <ion-item>
  116. <ion-label>{{agency.nameAgency}}</ion-label>
  117. <ion-radio value="{{agency}}" [checked]="agency == chooseAgency.selectedValue" (click)="agencyClicked(agency)">
  118. </ion-radio>
  119. </ion-item>
  120. </ion-list>
  121. </div>
  122. <div>&nbsp;</div>
  123. <div>&nbsp;</div>
  124. <div class="item-detail">
  125. <ion-row>
  126. <h3 style="font-weight: bold; font-size: large">
  127. {{"cring.label_product_price"|translate}}
  128. </h3>
  129. <h3 end>{{item.price | currency:'USD':true:'2.2-4'}}</h3>
  130. </ion-row>
  131. </div>
  132. </ion-content>
  133.  
  134. <ion-footer >
  135. <ion-toolbar toolbar-md-button-font-size class="cart-button" *ngFor="let c of cart" (click)="confirmOrder(c)" >
  136. <div>
  137. <button ion-button clear block>{{"cring.label_buy"|translate}}</button>
  138. </div>
  139. </ion-toolbar>
  140. </ion-footer>
  141.  
  142.  
  143. <!-- <ion-footer *ngIf="btnEstPrcTrigger">
  144. <ion-toolbar tappable class="cart-button" (click)="gotoCart()">
  145. <div>
  146. <ion-row align-items-center>
  147. <ion-col self-align-center col-2>
  148. <ion-icon class="cart_icon" name="cart"></ion-icon>
  149. <ion-badge mode="ios" *ngIf="estimatedQty" class="cart_badge">{{estimatedQty}}</ion-badge>
  150. </ion-col>
  151.  
  152. <ion-col col-9>
  153. <ion-row> Estimated Price </ion-row>
  154. <ion-row *ngIf = "estimatedPrice">
  155. <h5 style="color: red"> KHR {{estimatedPrice}} </h5>
  156. </ion-row>
  157. </ion-col>
  158.  
  159. <ion-col style="border-left: 2px solid #DEDEDE" self-align-center *ngIf = "estimatedPrice">
  160. <div>{{"cring.label_est_price"|translate}}</div>
  161. <div *ngIf="setLang != 'km' " style="font-size: large; color: #0844a6;">
  162. KHR {{estimatedPrice}}
  163. </div>
  164. <div *ngIf="setLang == 'km' " style="font-size: large; color: #0844a6;">
  165. {{estimatedPrice}} រៀល
  166. </div>
  167. </ion-col>
  168.  
  169. <ion-col self-align-center col-1>
  170. <ion-icon name="ios-arrow-forward"></ion-icon>
  171. </ion-col>
  172. </ion-row>
  173. </div>
  174. </ion-toolbar>
  175. </ion-footer> -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement