feat(Apps): introduce Apps tab and related screens for enhanced navigation

- Added a new "Apps" tab in the TabsLayout, providing users with access to various applications.
- Created AppsScreen to display app entries, including a schedule feature with a calendar icon.
- Implemented routing for the schedule and course screens under the new Apps tab structure.
- Updated navigation hrefs to reflect the new Apps section, improving overall user experience.
- Refactored HomeScreen to manage bottom tab visibility based on scroll events, enhancing usability.
This commit is contained in:
lafay
2026-03-25 01:29:41 +08:00
parent c12b98e293
commit cedb8284ba
16 changed files with 463 additions and 86 deletions

View File

@@ -57,6 +57,12 @@ export interface PostImageDTO {
height: number;
}
/** 帖子所属频道(列表卡片展示) */
export interface PostChannelBriefDTO {
id: string;
name: string;
}
export interface PostDTO {
id: string;
user_id: string;
@@ -81,6 +87,8 @@ export interface PostDTO {
is_favorited: boolean;
// 额外字段
channel_id?: string;
/** 频道摘要(与 channel_id 对应,服务端批量填充) */
channel?: PostChannelBriefDTO | null;
top_comment?: CommentDTO | null;
}