This commit is contained in:
oneao committed 2025-10-23 22:26:01 +08:00
1 parent c265ea736b
commit 88d13eb3d0
9 files changed
+1142 -76

No files matched your search

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