diff --git a/app/index/view/pc/public/header.html b/app/index/view/pc/public/header.html index 51c1640b..d0135d02 100644 --- a/app/index/view/pc/public/header.html +++ b/app/index/view/pc/public/header.html @@ -136,7 +136,7 @@ -
+
@@ -313,6 +313,7 @@ const searchSubmit = document.querySelector('.header-search-submit'); const langDropdown = document.getElementById('langDropdown'); const buyDropdown = document.getElementById('buyDropdown'); + const langCloseBtn = document.querySelector('.header-lang-dropdown-delete-icon'); const searchCloseBtn = document.querySelector('.header-search-dropdown-delete-icon'); @@ -340,8 +341,10 @@ item.addEventListener('mouseenter', () => { - console.log('122132') + buyDropdown.classList.remove('show'); + langDropdown.classList.remove('show'); + searchDropdown.classList.remove('show'); }); }); diff --git a/public/static/index/pc/css/header.css b/public/static/index/pc/css/header.css index e0015e53..3bd54cb8 100644 --- a/public/static/index/pc/css/header.css +++ b/public/static/index/pc/css/header.css @@ -263,7 +263,7 @@ a { max-width: 1920px; width: 100%; position: absolute; - top: 4em; + top: 4.2em; left: 0; right: 0; background-color: #fafafb;