修复下划线不显示
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 3s

This commit is contained in:
2026-04-11 11:34:58 +08:00
parent 7baac33d0d
commit aaf73a0803
2 changed files with 6 additions and 3 deletions

View File

@@ -136,7 +136,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="header-lang-wrapper"> <div class="header-lang-wrapper" >
<span class="header-nav-btn"> <span class="header-nav-btn">
<img src="__IMAGES__/l1.png" alt="" style="width: 20px;height:20px"> <img src="__IMAGES__/l1.png" alt="" style="width: 20px;height:20px">
</span> </span>
@@ -313,6 +313,7 @@
const searchSubmit = document.querySelector('.header-search-submit'); const searchSubmit = document.querySelector('.header-search-submit');
const langDropdown = document.getElementById('langDropdown'); const langDropdown = document.getElementById('langDropdown');
const buyDropdown = document.getElementById('buyDropdown'); const buyDropdown = document.getElementById('buyDropdown');
const langCloseBtn = document.querySelector('.header-lang-dropdown-delete-icon'); const langCloseBtn = document.querySelector('.header-lang-dropdown-delete-icon');
const searchCloseBtn = document.querySelector('.header-search-dropdown-delete-icon'); const searchCloseBtn = document.querySelector('.header-search-dropdown-delete-icon');
@@ -340,8 +341,10 @@
item.addEventListener('mouseenter', () => item.addEventListener('mouseenter', () =>
{ {
console.log('122132')
buyDropdown.classList.remove('show'); buyDropdown.classList.remove('show');
langDropdown.classList.remove('show');
searchDropdown.classList.remove('show');
}); });
}); });

View File

@@ -263,7 +263,7 @@ a {
max-width: 1920px; max-width: 1920px;
width: 100%; width: 100%;
position: absolute; position: absolute;
top: 4em; top: 4.2em;
left: 0; left: 0;
right: 0; right: 0;
background-color: #fafafb; background-color: #fafafb;