From 54aac790ee5c218c3bc1c77bae9d9b26d33761c4 Mon Sep 17 00:00:00 2001 From: Ruslan Bakiev <572431+veikab@users.noreply.github.com> Date: Tue, 21 Apr 2026 10:46:35 +0700 Subject: [PATCH] feat(ui): unify logistics-style side panel flow --- app/components/AppFooter.vue | 82 ++++++++++ app/components/shell/MapSidePanel.vue | 86 +++++++++++ app/layouts/topnav.vue | 12 ++ app/pages/catalog/destination.vue | 169 ++++++++++---------- app/pages/catalog/product.vue | 139 +++++++---------- app/pages/catalog/quantity.vue | 139 +++++++++-------- app/pages/catalog/results.vue | 212 ++++++++++++-------------- app/pages/clientarea/orders/index.vue | 127 +++++++-------- 8 files changed, 544 insertions(+), 422 deletions(-) create mode 100644 app/components/AppFooter.vue create mode 100644 app/components/shell/MapSidePanel.vue diff --git a/app/components/AppFooter.vue b/app/components/AppFooter.vue new file mode 100644 index 0000000..fd52e68 --- /dev/null +++ b/app/components/AppFooter.vue @@ -0,0 +1,82 @@ + + + diff --git a/app/components/shell/MapSidePanel.vue b/app/components/shell/MapSidePanel.vue new file mode 100644 index 0000000..891b9dc --- /dev/null +++ b/app/components/shell/MapSidePanel.vue @@ -0,0 +1,86 @@ + + + diff --git a/app/layouts/topnav.vue b/app/layouts/topnav.vue index 4a3720f..03ca816 100644 --- a/app/layouts/topnav.vue +++ b/app/layouts/topnav.vue @@ -5,6 +5,16 @@ const localePath = useLocalePath() const isHomePage = computed(() => route.path === localePath('/')) const isCatalogSection = computed(() => route.path.startsWith(localePath('/catalog'))) const isClientArea = computed(() => route.path.startsWith(localePath('/clientarea'))) +const isFullscreenMapPage = computed(() => { + const p = route.path + return ( + p.startsWith(localePath('/catalog/')) || + p === localePath('/catalog') || + p === localePath('/clientarea/orders') || + p === localePath('/select-location/map') || + p === localePath('/clientarea/orders/map') + ) +}) const contentClass = computed(() => { if (isCatalogSection.value || isHomePage.value) { @@ -27,5 +37,7 @@ const mainStyle = computed(() => {
+ + diff --git a/app/pages/catalog/destination.vue b/app/pages/catalog/destination.vue index c1f64b3..45e02c8 100644 --- a/app/pages/catalog/destination.vue +++ b/app/pages/catalog/destination.vue @@ -1,87 +1,83 @@