From 518f54ec2adcd8073a12aae1a9552a7a4838abaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=93=D0=BE?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=BA=D0=B8=D0=BD?= Date: Sat, 20 Apr 2024 15:56:03 +0600 Subject: [PATCH] update burger in header erg --- package.json | 2 +- src/runtime/components/Pages/TestVuetify.vue | 5 +- src/runtime/components/Parts/Header/Erg.vue | 154 +++++++++++++++---- 3 files changed, 125 insertions(+), 36 deletions(-) diff --git a/package.json b/package.json index d10e05a..3cf07d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ibecsystems/nuxt3-ui-kit", - "version": "1.0.39", + "version": "1.0.40", "description": "Ibec Nuxt3 UI components", "repository": { "type": "git", diff --git a/src/runtime/components/Pages/TestVuetify.vue b/src/runtime/components/Pages/TestVuetify.vue index 970bfed..068eb19 100644 --- a/src/runtime/components/Pages/TestVuetify.vue +++ b/src/runtime/components/Pages/TestVuetify.vue @@ -1,7 +1,7 @@ @@ -126,13 +176,25 @@ import { useMainStore } from "../../../store/mainStore"; const mainStore = useMainStore(); const attrs = useAttrs(); -const selectAttrs = { +const selectAttrs = ref({ ...mainStore.getObjectPropertiesWithPrefix(attrs, "select"), -}; +}); -const buttonAttrs = { +const buttonAttrs = ref({ ...mainStore.getObjectPropertiesWithPrefix(attrs, "button"), -}; +}); + +const buttonDrawerAttrs = ref({ + ...mainStore.getObjectPropertiesWithPrefix(attrs, "button-drawer"), +}); + +const selectLangMobileButtonAttrs = ref({ + ...mainStore.getObjectPropertiesWithPrefix(attrs, "select-lang-mobile"), +}); + +const navigationDrawerAttrs = ref({ + ...mainStore.getObjectPropertiesWithPrefix(attrs, "navigation-drawer"), +}) const props = defineProps({ logo: { @@ -149,7 +211,7 @@ const props = defineProps({ default: () => [ { title: "О компании", - url: "/about" + href: "/" }, { title: "Продукты и услуги", @@ -190,7 +252,9 @@ const props = defineProps({ burger: { type: Boolean, default: true}, columnGapList: { type: Number, default: 32 }, classMenuSelect: { type: String, default: () => 'select-lang-header-menu' }, - wordButtonMobile: { type: String, default: () => '' } + wordButtonMobile: { type: String, default: () => '' }, + colorActiveLangMobile: { type: String, default: () => '' }, + colorLangMobile: { type: String, default: () => '' }, }) const emits = defineEmits(['select-lang', 'button-click']) @@ -258,6 +322,30 @@ function buttonClick() {