feat: 更新视图组件及数据模型
- 在yanaApp中为SplashPage添加忽略安全区域的设置,确保全屏显示。 - 在DynamicsModels中更新MyMomentInfo结构,添加可选字段以兼容不同版本的服务器返回数据。 - 在CommonComponents中将LoginBackgroundView的背景图替换为蓝色,简化视图。 - 在MainPage中为内容添加忽略安全区域的设置,提升布局一致性。 - 在MePage中新增MePageViewModel,优化用户信息管理逻辑,支持动态列表的加载和错误处理。 - 在SplashPage中调整过渡动画时长,提升用户体验。
This commit is contained in:
@@ -46,8 +46,9 @@ struct MainPage: View {
|
||||
.padding(.horizontal, 24)
|
||||
.padding(.bottom, 100)
|
||||
}
|
||||
}
|
||||
}.ignoresSafeArea(.all)
|
||||
}
|
||||
.toolbar(.hidden)
|
||||
}
|
||||
.onAppear {
|
||||
viewModel.onLogout = onLogout
|
||||
|
Reference in New Issue
Block a user