You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
758 B
21 lines
758 B
import { Stack } from 'expo-router';
|
|
import { StatusBar } from 'expo-status-bar';
|
|
|
|
/**
|
|
* 根布局:用 Stack 包裹整个应用,首页 Tab 组不显示顶部 header
|
|
*/
|
|
export default function RootLayout() {
|
|
return (
|
|
<>
|
|
<StatusBar style="dark" />
|
|
<Stack>
|
|
<Stack.Screen name="(tabs)" options={{ headerShown: false }} />
|
|
<Stack.Screen name="settings" options={{ title: '设置' }} />
|
|
<Stack.Screen name="resume" options={{ title: '我的简历' }} />
|
|
<Stack.Screen name="favorites" options={{ title: '我的收藏' }} />
|
|
<Stack.Screen name="history" options={{ title: '浏览历史' }} />
|
|
<Stack.Screen name="assessment" options={{ title: '我的测评' }} />
|
|
</Stack>
|
|
</>
|
|
);
|
|
}
|