From ce9d57a8a014cfa6e046426eb3388587357874a8 Mon Sep 17 00:00:00 2001 From: gww Date: Wed, 21 Jan 2026 13:26:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=90=9C=E7=B4=A2=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(tabs)/index.tsx | 41 ++++++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index ccd855a..8fa80a1 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -442,7 +442,7 @@ const Index = observer(function Index() { return ( - setIsSearchOpen(true)} onQuickGen={handleQuickGen} selectedItem={selectedItem} /> + setIsSearchOpen(true)} onQuickGen={handleQuickGen} selectedItem={selectedItem} /> { @@ -522,7 +522,7 @@ const SearchOverlay = memo(function SearchOverlay({ isOpen, if (!isOpen) return null return ( - + (function GooActions({ gooPoints, on {isDev && isPolling && } )} - - {/* - - */} ) @@ -623,7 +616,7 @@ const DuooomiLogo = memo(function DuooomiLogo() { const width = 200 const height = 40 const textHeight = paragraph.getHeight() - const y = (height - textHeight) / 2 + const y = (height - textHeight) / 1.5 return ( @@ -636,8 +629,9 @@ type HeroCircleProps = { selectedItem: MediaItem | null onQuickGen: () => void onOpenSearch: () => void + isSearchOpen: boolean } -const HeroCircle = observer(function HeroCircle({ selectedItem, onQuickGen, onOpenSearch }) { +const HeroCircle = observer(function HeroCircle({ selectedItem, onQuickGen, onOpenSearch, isSearchOpen }) { const isAuthenticated = userStore.isAuthenticated const { balance } = userBalanceStore @@ -648,8 +642,8 @@ const HeroCircle = observer(function HeroCircle({ selectedItem, return ( - - + + @@ -698,12 +692,21 @@ const HeroCircle = observer(function HeroCircle({ selectedItem, - - - + {!isSearchOpen && ( + + + + + + + + + )} )