feat: 更新动态点赞与加载状态管理以提升用户体验

- 在DetailFeature和FeedListFeature中增强点赞功能的状态管理,确保用户交互流畅。
- 新增API加载效果视图,提升用户在操作过程中的反馈体验。
- 更新视图组件以支持点赞加载状态,优化用户界面交互。
- 改进错误处理逻辑,确保在API请求失败时提供友好的错误提示。
This commit is contained in:
edwinQQQ
2025-07-28 16:05:22 +08:00
parent e286229f6f
commit d35071d3de
13 changed files with 389 additions and 332 deletions

View File

@@ -98,7 +98,9 @@ struct InternalMainView: View {
send: { MainFeature.Action.selectTab(MainFeature.Tab(rawValue: $0.rawValue) ?? .feed) }
))
}
.padding(.bottom, geometry.safeAreaInsets.bottom + 60)
// API Loading
APILoadingEffectView()
}
}
}