diff --git a/src/app/pages/filters-page/filters-page.component.html b/src/app/pages/filters-page/filters-page.component.html index 8193459..bfd1eda 100644 --- a/src/app/pages/filters-page/filters-page.component.html +++ b/src/app/pages/filters-page/filters-page.component.html @@ -2,118 +2,116 @@
-
-
-

- -

-
-
-
- Veuillez sélectionner la distance souhaitée +
+

+ +

+
+
+
+ Veuillez sélectionner la distance souhaitée +
+ +
+ 0 KM + 2 KM + 4 KM +
+
- -
- 0 KM - 2 KM - 4 KM +
+ + + +
+

+ +

+
+
+ +
+ Veuillez sélectionner le prix souhaité +
+ +
+ 0€ + 10€ + 20€ +
+
+
+
+ + + +
+

+ +

+
+
+ +
+ Sur Place + A Emporter +
+
+ + +
-
- + -
-

- -

-
-
+
+

+ +

+
+
-
- Veuillez sélectionner le prix souhaité +
+ Accès PMR +
+
+ +
- -
- 0€ - 25€ - 50€ -
-
- + -
-

- -

-
-
- -
- Sur Place - A Emporter -
-
- - +
+

+ +

+
+
+
+ Choisissez parmi les avis déjà donnés +
+ +
-
-
- - - -
-

- -

-
-
- -
- Accès PMR -
-
- - -
-
-
-
- - - -
-

- -

-
-
-
- Choisissez parmi les avis déjà donnés -
- -
-
-
diff --git a/src/app/pages/filters-page/filters-page.component.scss b/src/app/pages/filters-page/filters-page.component.scss index 1e7ff47..2527ff7 100644 --- a/src/app/pages/filters-page/filters-page.component.scss +++ b/src/app/pages/filters-page/filters-page.component.scss @@ -28,12 +28,11 @@ margin-bottom: 100px; .accordion-body{ background-color: #F5F3F3; text-align: center; - } .accordion-item{ - margin-bottom: 70px; + margin-bottom: 60px; } .accordion-button{ diff --git a/src/app/pages/filters-page/filters-page.component.ts b/src/app/pages/filters-page/filters-page.component.ts index dbeba33..b2afa2a 100644 --- a/src/app/pages/filters-page/filters-page.component.ts +++ b/src/app/pages/filters-page/filters-page.component.ts @@ -7,9 +7,39 @@ import { Component, OnInit } from '@angular/core'; }) export class FiltersPageComponent implements OnInit { - constructor() { } + minDistance : any; + maxDistance : any; + selectDistance : any; - ngOnInit(): void { - } + + + minPrice : any; + maxPrice: any; + selectPrice : any; + + constructor() { + + this.minDistance = 0; + this.maxDistance = 4; + this.selectDistance = 0; + + this.minPrice = 0; + this.maxPrice = 20; + this.selectPrice = 0; + + } + + ngOnInit(): void {} + + changeValueDistance(valueDistance: any){ + this.selectDistance = valueDistance.target.value; + console.log(this.selectDistance); +} + + +changeValuePrice(valuePrice: any){ + this.selectPrice = valuePrice.target.value; + console.log(this.selectPrice); +} }