diff --git a/app/components/index/Carousel.vue b/app/components/index/Carousel.vue index eb1f378..7b666ab 100644 --- a/app/components/index/Carousel.vue +++ b/app/components/index/Carousel.vue @@ -1,284 +1,284 @@ - + + + + + + + + + + + + + + + + + + + + + + + - + + + + - + + + + + diff --git a/app/components/index/Logo.vue b/app/components/index/Logo.vue index 5c7bc13..7e8dec8 100644 --- a/app/components/index/Logo.vue +++ b/app/components/index/Logo.vue @@ -1,14 +1,14 @@ - - \ No newline at end of file + + + + + + + + + + + \ No newline at end of file diff --git a/app/components/index/index.vue b/app/components/index/index.vue index 9208379..2ccf330 100644 --- a/app/components/index/index.vue +++ b/app/components/index/index.vue @@ -7,12 +7,12 @@ import { smartHardwareData } from '~/data/indexData' -// 处理锚点链接 -const handleAnchorLinks = () => { - if (window.location.hash) { - history.replaceState('', document.title, window.location.pathname + window.location.search) - } -} +// // 处理锚点链接 +// const handleAnchorLinks = () => { +// if (window.location.hash) { +// history.replaceState('', document.title, window.location.pathname + window.location.search) +// } +// } // 解决方案标签页切换 const handleSolutionTabHover = (index: number) => { @@ -46,7 +46,7 @@ const handleDropdownImageHover = (index: number) => { } onMounted(() => { - handleAnchorLinks() + // handleAnchorLinks() // 绑定事件 const solutionTabs = document.querySelectorAll('.solution .items-body li') @@ -66,9 +66,9 @@ onMounted(() => {