修复前台导航栏下拉菜单遮挡问题

This commit is contained in:
2025-06-25 14:17:07 +08:00
parent 0e2a32549b
commit 7a34aac581

View File

@@ -98,14 +98,14 @@ export default function Page(props: ProviderProps) {
return (
<header
className={merge(
'fixed top-0 left-0 w-screen z-10 flex flex-col',
'fixed top-0 left-0 w-screen z-10 flex flex-col pointer-events-none',
menu && 'h-screen',
)}>
<HeaderContext.Provider value={{setMenu}}>
{/* 菜单栏 */}
<div className={merge(
`flex-none`,
`flex-none pointer-events-auto`,
`transition-[background,shadow] duration-200 ease-in-out`,
menu
? `bg-[#fffe] backdrop-blur-sm`