diff --git a/app/index/view/pc/public/header.html b/app/index/view/pc/public/header.html index d20f30fb..b0d9e99e 100644 --- a/app/index/view/pc/public/header.html +++ b/app/index/view/pc/public/header.html @@ -249,14 +249,14 @@ - const tabItems = document.querySelectorAll('.header-tab-item'); + const tabItems1 = document.querySelectorAll('.header-tab-item'); const tabContents = document.querySelectorAll('.header-tab-content'); - tabItems.forEach(tab => + tabItems1.forEach(tab => { tab.addEventListener('mouseenter', () => { - tabItems.forEach(item => item.classList.remove('active')); + tabItems1.forEach(item => item.classList.remove('active')); tab.classList.add('active'); const tabId = tab.getAttribute('data-tab'); tabContents.forEach(content =>