diff --git a/components/ui/FloatingGlassPanel.tsx b/components/ui/FloatingGlassPanel.tsx index 324c1fc..fcf8496 100644 --- a/components/ui/FloatingGlassPanel.tsx +++ b/components/ui/FloatingGlassPanel.tsx @@ -21,39 +21,48 @@ export default function FloatingGlassPanel({ open, onClose, children, width = '3 return ( {open && ( - -
+ - {children} -
-
+
+ {children} +
+ + {/* 添加遮罩层,点击时关闭面板 */} + + )}
);