- Ramos
- Plantas
- Floranet
- FAQs
- Contacta
+ Ramos
+
+ Plantas
+
+ Floranet
+ FAQs
+ Contacta
@@ -37,9 +45,14 @@ export default defineComponent({
const mobileStore = useMobileStore();
const { isOpenNav } = storeToRefs(mobileStore);
- const setBodyStyle = (overflow: 'hidden' | 'visible') => {
+ function setBodyStyle(overflow: 'hidden' | 'visible') {
document.body.style.overflow = overflow;
- };
+ }
+
+ function closeNav() {
+ isOpenNav.value = false;
+ console.log('foi click');
+ }
watch(isOpenNav, (newValue) => {
if (newValue) {
@@ -50,7 +63,7 @@ export default defineComponent({
setBodyStyle('visible');
});
- return { isOpenNav };
+ return { isOpenNav, closeNav };
},
});
diff --git a/src/components/ui/Modal.vue b/src/components/ui/Modal.vue
index 68ef92b..0b75d22 100644
--- a/src/components/ui/Modal.vue
+++ b/src/components/ui/Modal.vue
@@ -73,7 +73,6 @@ export default defineComponent({
IconSearch,
IconCloseModal,
PriceRange,
-
Calendar,
PostalCode,
},
diff --git a/src/components/ui/QuestionForm.vue b/src/components/ui/QuestionForm.vue
index 3bef98f..304205b 100644
--- a/src/components/ui/QuestionForm.vue
+++ b/src/components/ui/QuestionForm.vue
@@ -4,8 +4,8 @@
Enviar solicitud
@@ -91,14 +91,13 @@
@@ -216,7 +264,16 @@ export default defineComponent({
padding: 4px 30px 4px 14px;
}
&.order-filter {
- padding: 4px 30px 4px 14px;
+ padding: 4px 10px 4px 20px;
+ text-align: end;
+ border-radius: 10px 0px 0px 10px;
+ &.active {
+ border-radius: 10px 0px 0px 0px;
+ }
+
+ & .order-filters {
+ position: relative;
+ }
}
&.filters {
@@ -230,6 +287,7 @@ export default defineComponent({
& .filter-btn {
padding: 8px;
border-radius: 0 30px 30px 0;
+
&.availability,
&.price-order {
position: absolute;
@@ -243,6 +301,7 @@ export default defineComponent({
&.price-order {
right: -33px;
padding: 9.5px;
+ top: 0;
}
}
@@ -250,6 +309,7 @@ export default defineComponent({
display: flex;
gap: 40px;
margin-right: 33px;
+ align-items: flex-start;
}
@media only screen and (max-width: $med-md) {
diff --git a/src/pages/CheckoutPage.vue b/src/pages/CheckoutPage.vue
index 3cec1dc..b264577 100644
--- a/src/pages/CheckoutPage.vue
+++ b/src/pages/CheckoutPage.vue
@@ -1,75 +1,86 @@
-