This commit is contained in:
oneao committed 2025-10-24 17:27:35 +08:00
1 parent 88d13eb3d0
commit a9d16f2b85
12 files changed
+127 -145

No files matched your search

+2 -13
View File
@@ -1,5 +1,4 @@
import { Stack } from 'expo-router'
import { StyleSheet } from 'react-native'
export default function Layout() {
return (
@@ -10,19 +9,9 @@ export default function Layout() {
}}
>
<Stack.Screen
name="index"
options={{
headerShown: false, // 首页不显示 title
}}
name="(tabs)"
options={{ headerShown: false }}
/>
{/* 其他页面可以在这里添加 */}
</Stack>
)
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'black',
},
})