添加注册和账户信息页面,更新登录页面,修改样式和国际化文本,调整导航逻辑,更新 package.json 以支持 Node 22.12.0,替换 logo 图片。

This commit is contained in:
wuzhenyu
2025-08-29 17:33:18 +08:00
parent 1e1f06cb08
commit 579aee6efc
11 changed files with 707 additions and 106 deletions

View File

@@ -51,7 +51,7 @@ const Index = () => {
if (user && user.token) {
resetAllRoutes('Home');
} else {
resetAllRoutes('Login');
resetAllRoutes('AccountInfo');
}
}, 1000);
}, [isFocused]);
@@ -65,21 +65,25 @@ const Index = () => {
alignItemsCenter,
flexRow
]}>
<Image
source={require('@/assets/images/logo.png')}
style={[
{
width: 52,
height: 52,
resizeMode: 'contain',
},
]}
/>
<Text
style={{
fontSize: 24,
fontSize: 32,
fontWeight: 'bold',
backgroundColor: 'red',
marginLeft: 10,
color: themeColor.color_text_base,
}}>
login111
Finix
</Text>
<Button type="primary" onPress={() => {
Toast.show({
content: 'Please enter user name',
position: 'center',
mask: true,
});
}}>Click me</Button>
</View>
</View>
);