添加注册和账户信息页面,更新登录页面,修改样式和国际化文本,调整导航逻辑,更新 package.json 以支持 Node 22.12.0,替换 logo 图片。
This commit is contained in:
16
App.jsx
16
App.jsx
@@ -23,10 +23,12 @@ import { AuthProvider, useContextHook } from './components/AuthContext/index';
|
||||
|
||||
|
||||
import Login from '@/views/Login/index';
|
||||
import Signup from '@/views/Signup/index';
|
||||
import Guide from '@/views/Guide/index';
|
||||
import HomeIndex from '@/views/Home/Index/index';
|
||||
import HomeInventory from '@/views/Home/Inventory/index';
|
||||
import HomeProfile from '@/views/Home/Profile/index';
|
||||
import AccountInfo from '@/views/AccountInfo/index';
|
||||
|
||||
|
||||
const Tab = createBottomTabNavigator();
|
||||
@@ -107,6 +109,13 @@ function RootStack() {
|
||||
}}
|
||||
component={Login}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Signup"
|
||||
options={{
|
||||
headerShown: false,
|
||||
}}
|
||||
component={Signup}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Home"
|
||||
component={HomeTabs}
|
||||
@@ -114,6 +123,13 @@ function RootStack() {
|
||||
headerShown: false,
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="AccountInfo"
|
||||
component={AccountInfo}
|
||||
options={{
|
||||
headerShown: false,
|
||||
}}
|
||||
/>
|
||||
</Stack.Navigator>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user