From aaf73a0803b1aeebabfae766e06974f5a5085736 Mon Sep 17 00:00:00 2001 From: jsasg <735273025@qq.com> Date: Sat, 11 Apr 2026 11:34:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8B=E5=88=92=E7=BA=BF?= =?UTF-8?q?=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/pc/public/header.html | 7 +++++-- public/static/index/pc/css/header.css | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) 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;