From 3fa494a7ac1df059d300a301ad406818cad6c7e1 Mon Sep 17 00:00:00 2001 From: enadhilal Date: Tue, 24 Aug 2021 15:08:00 +0300 Subject: [PATCH] fixing design offer --- Mohem/src/app/offersdiscount/home/home.component.html | 8 +++++--- Mohem/src/app/offersdiscount/home/home.component.scss | 6 +++++- Mohem/src/app/offersdiscount/home/home.component.ts | 1 + 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Mohem/src/app/offersdiscount/home/home.component.html b/Mohem/src/app/offersdiscount/home/home.component.html index 5885939e..95508a9c 100644 --- a/Mohem/src/app/offersdiscount/home/home.component.html +++ b/Mohem/src/app/offersdiscount/home/home.component.html @@ -53,11 +53,13 @@
- {{item.Title}} + {{item.Title}} + {{item.Title_AR}}
-
+
+
{{item.Discount}}
@@ -69,7 +71,7 @@

{{ts.trPK('general','expired')}}

- + diff --git a/Mohem/src/app/offersdiscount/home/home.component.scss b/Mohem/src/app/offersdiscount/home/home.component.scss index 9006e888..46e5e3b4 100644 --- a/Mohem/src/app/offersdiscount/home/home.component.scss +++ b/Mohem/src/app/offersdiscount/home/home.component.scss @@ -205,4 +205,8 @@ ion-card{ } ion-card-content strong{ font-size: 14px; -} \ No newline at end of file +} +.arrow-icon-offer-ar{ + transform: rotate(180deg); +} +.arrow-icon-offer-en{} \ No newline at end of file diff --git a/Mohem/src/app/offersdiscount/home/home.component.ts b/Mohem/src/app/offersdiscount/home/home.component.ts index 3290aa8c..71fd19a0 100644 --- a/Mohem/src/app/offersdiscount/home/home.component.ts +++ b/Mohem/src/app/offersdiscount/home/home.component.ts @@ -83,6 +83,7 @@ export class HomeComponent implements AfterViewInit { } else { this.offersService.getOffers({}, () => { }, this.ts.trPK('general', 'retry')).subscribe((res) => { var data = JSON.parse(res['Mohemm_ITG_ResponseItem']); + console.log( JSON.parse(data.result.data)); this.cs.stopLoading(); if (data['result']) this.displayOffers(data['result']);