From 3af07fcde08176c6ee748f5d42597008fbcab4bc Mon Sep 17 00:00:00 2001 From: gww Date: Thu, 22 Jan 2026 10:17:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=90=9C=E7=B4=A2=E6=A1=86=E5=9B=9B?= =?UTF-8?q?=E8=BE=B9=E5=BD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(tabs)/index.tsx | 109 +++++++++++++++++++++++++++++++++---------- 1 file changed, 85 insertions(+), 24 deletions(-) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 7b6b41e..058d4ad 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -522,33 +522,94 @@ const SearchOverlay = memo(function SearchOverlay({ isOpen, }, [onClose, onSearch]) if (!isOpen) return null + + const searchHeight = 48 + const closeSize = 48 + const skewOffset = 8 + const padding = 2 + const searchWidth = screenWidth - 40 - 8 - closeSize + return ( - - - + {/* 搜索输入平行四边形 */} + + + {/* 白色平行四边形主体 */} + + {/* 黑色描边 */} + + {/* 右侧 + 底部硬阴影 */} + + + + + + + - - + + {/* 关闭按钮平行四边形 */} + + + {/* 黄色平行四边形主体 */} + + {/* 黑色描边 */} + + {/* 右侧 + 底部硬阴影 */} + + + + + + )