From e64a0704224668bc20e320b97aed7f4effb007da Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 21 Oct 2025 14:06:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E5=91=8A=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/index/Carousel.vue | 500 +++++++++++++++--------------- app/components/index/Logo.vue | 26 +- app/components/index/index.vue | 20 +- app/pages/index.vue | 24 +- 4 files changed, 285 insertions(+), 285 deletions(-) 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(() => {