diff --git a/src/components.d.ts b/src/components.d.ts index 2ab8a00..ed4fe7a 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -10,7 +10,6 @@ declare module 'vue' { CarbonLanguage: typeof import('~icons/carbon/language')['default'] CarbonMoon: typeof import('~icons/carbon/moon')['default'] CarbonSun: typeof import('~icons/carbon/sun')['default'] - CarbonWarning: typeof import('~icons/carbon/warning')['default'] CBanner: typeof import('./components/CBanner.vue')['default'] CBrand: typeof import('./components/CBrand.vue')['default'] CCategory: typeof import('./components/CCategory.vue')['default'] @@ -27,6 +26,7 @@ declare module 'vue' { CService: typeof import('./components/CService.vue')['default'] CSlick: typeof import('./components/CSlick.vue')['default'] CSwipper: typeof import('./components/CSwipper.vue')['default'] + IBrand: typeof import('./components/IBrand.vue')['default'] ICart: typeof import('./components/ICart.vue')['default'] ICompare: typeof import('./components/ICompare.vue')['default'] IFacebook: typeof import('./components/IFacebook.vue')['default'] diff --git a/src/components/CBrand.vue b/src/components/CBrand.vue index d73fc7b..84650f5 100644 --- a/src/components/CBrand.vue +++ b/src/components/CBrand.vue @@ -1,7 +1,13 @@ + + diff --git a/src/components/CFooter.vue b/src/components/CFooter.vue index b15ebc2..5fc64e5 100644 --- a/src/components/CFooter.vue +++ b/src/components/CFooter.vue @@ -1,7 +1,7 @@ @@ -193,7 +175,7 @@ transform: rotate(180deg); color: orange; } .dropdown__item:hover{ - color: orange; + color: #EE4D2D; padding-left: 1.5rem; padding-right: 0.5rem; } diff --git a/src/components/RMenu.vue b/src/components/RMenu.vue index 43a69af..6bd6b2d 100644 --- a/src/components/RMenu.vue +++ b/src/components/RMenu.vue @@ -112,7 +112,7 @@ const { t } = useI18n() position: relative; } .menu-child-link:hover { - color: orange; + color: #EE4D2D; } .menu-toggle { diff --git a/src/components/SLMenu.vue b/src/components/SLMenu.vue index 0166f33..3ffc0e4 100644 --- a/src/components/SLMenu.vue +++ b/src/components/SLMenu.vue @@ -4,6 +4,7 @@ import IProd from '~/components/IProd.vue' const isOrder = ref(true) const isProd = ref(true) +const isClick = ref({ zero: false, one: false, two: false, three: false }) const onOpenOrder = () => { if (isOrder.value === false) isOrder.value = true @@ -14,6 +15,21 @@ const onOpenProd = () => { else if (isProd.value === true) isProd.value = false } +const onClick = (index) => { + // isClick.forEach(element => isClick.value[element] = false) + + if (isClick.value[index] === false) + isClick.value[index] = true + + else if (isClick.value[isClick.value[index]] === true) + isClick.value[index] = false + + // for (const i of isClick.value) { + // if (i === index) + // isClick.value[i] = true + // } +} +