From 9fcbc0346ae329a4c51511625814baf11c71c5dd Mon Sep 17 00:00:00 2001 From: gww Date: Mon, 26 Jan 2026 16:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=9C=AA=E7=99=BB=E5=BD=95?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(tabs)/index.tsx | 8 +++++--- app/profile.tsx | 8 ++++---- app/settings.tsx | 17 ++++++----------- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 2a07e43..cf8949f 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -575,9 +575,11 @@ const GooActions = observer(function GooActions({ gooPoints, on {isDev && isPolling && } )} - router.push('/settings')}> - - + {!!isAuthenticated && ( + router.push('/settings')}> + + + )} ( - + {infoItems.map((item) => ( {item.label} {/*手机号 显示隐藏按钮 */} {item.id !== 'phone' && ( - + )} ))} @@ -209,7 +209,7 @@ export default observer(function ProfilePage() { ) return ( - + {renderHeader()} diff --git a/app/settings.tsx b/app/settings.tsx index f9fc1f5..40e7647 100644 --- a/app/settings.tsx +++ b/app/settings.tsx @@ -117,9 +117,9 @@ export default observer(function SettingsPage() { const renderMenuSection = () => ( - 使用相关 - - {menuItems.map((item, index) => ( + 使用相关 + + {menuItems.map((item) => ( {item.label} - {index < menuItems.length - 1 && ( - - )} ))} @@ -139,20 +136,18 @@ export default observer(function SettingsPage() { ) const renderLogoutButton = () => ( - - {isAuthenticated && ( + 退出登录 - )} ) return ( - + {renderHeader()}