diff --git a/src/app/notifications/notifications.component.html b/src/app/notifications/notifications.component.html new file mode 100644 index 0000000..1b8a7cd --- /dev/null +++ b/src/app/notifications/notifications.component.html @@ -0,0 +1,45 @@ +
- orders works! -
diff --git a/src/app/orders/orders.component.scss b/src/app/orders/orders.component.scss index e69de29..fb4c3e3 100644 --- a/src/app/orders/orders.component.scss +++ b/src/app/orders/orders.component.scss @@ -0,0 +1,21 @@ +.heading-holder { + background-color: #efefef; + display: flex; + align-items: center; + justify-content: space-between; + padding: 10px 5%; + + .name { + color: var(--brand-dark-grey); + font-size: 12px; + font-weight: 500; + letter-spacing: 0.5px; + } + + ion-button { + margin: 0; + --color: var(--brand-blue); + font-size: 12px; + --padding-end: 0; + } +} diff --git a/src/app/orders/orders.component.ts b/src/app/orders/orders.component.ts index 6599846..6236611 100644 --- a/src/app/orders/orders.component.ts +++ b/src/app/orders/orders.component.ts @@ -1,5 +1,9 @@ import { Component, OnInit } from '@angular/core'; -import { UserDataService } from '../services/user-data.service'; +import { IMall } from '../models/mall'; +import { MallService } from '../services/mall.service'; +import { CartItemService } from '../services/cart-item.service'; +import CartItem from '../models/cart-item'; +import * as moment from 'moment'; @Component({ selector: 'app-orders', @@ -7,11 +11,32 @@ import { UserDataService } from '../services/user-data.service'; styleUrls: ['./orders.component.scss'], }) export class OrdersComponent implements OnInit { + cart_items: any = []; + all_malls: Array