feat: 更新视图组件及数据模型
- 在yanaApp中为SplashPage添加忽略安全区域的设置,确保全屏显示。 - 在DynamicsModels中更新MyMomentInfo结构,添加可选字段以兼容不同版本的服务器返回数据。 - 在CommonComponents中将LoginBackgroundView的背景图替换为蓝色,简化视图。 - 在MainPage中为内容添加忽略安全区域的设置,提升布局一致性。 - 在MePage中新增MePageViewModel,优化用户信息管理逻辑,支持动态列表的加载和错误处理。 - 在SplashPage中调整过渡动画时长,提升用户体验。
This commit is contained in:
@@ -4,7 +4,7 @@ struct SplashPage: View {
|
||||
@State private var showLogin = false
|
||||
@State private var showMain = false
|
||||
@State private var hasCheckedAuth = false
|
||||
private let splashTransitionAnimation: Animation = .easeInOut(duration: 0.25)
|
||||
private let splashTransitionAnimation: Animation = .easeInOut(duration: 0.5)
|
||||
|
||||
var body: some View {
|
||||
Group {
|
||||
@@ -56,7 +56,6 @@ struct SplashPage: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.ignoresSafeArea()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user