瀏覽代碼

📝 docs(story): 更新首页文件名记录

- 将文档中所有 `HomePage.tsx` 引用修正为 `index.tsx`
- 统一首页文件路径记录,保持与实际项目结构一致
yourname 3 月之前
父節點
當前提交
747ed8ba5b
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      docs/stories/005.002.story.md

+ 4 - 4
docs/stories/005.002.story.md

@@ -50,7 +50,7 @@ Ready for Review
   - [x] 支持按省市区筛选地点
   - [x] 支持地点名称模糊搜索
 - [x] 实现前端页面迁移 (从mini-demo迁移) (AC: 1, 2, 3, 4, 5, 6)
-  - [x] 迁移首页 - 基于 `mini-demo/pages/home/home` 在 `mini/src/pages/home/` 创建 `HomePage.tsx`
+  - [x] 迁移首页 - 基于 `mini-demo/pages/home/home` 在 `mini/src/pages/home/` 创建 `index.tsx`
     - [x] 集成省市区三级联动选择出发地和目的地
     - [x] 集成地点搜索组件选择具体地点
     - [x] 日期选择器
@@ -159,7 +159,7 @@ Ready for Review
 - **省市区API路由**: `src/server/api/areas/index.ts` (故事5.1已实现) [Source: architecture/source-tree.md#实际项目结构]
 - **地点API路由**: `src/server/api/locations/index.ts` (故事5.1已实现) [Source: architecture/source-tree.md#实际项目结构]
 - **前端页面**:
-  - `mini/src/pages/home/HomePage.tsx` (首页)
+  - `mini/src/pages/home/index.tsx` (首页)
   - `mini/src/pages/select-activity/ActivitySelectPage.tsx` (活动选择页面)
   - `mini/src/pages/schedule-list/ScheduleListPage.tsx` (班次列表页面) [Source: architecture/source-tree.md#实际项目结构]
 - **前端组件**:
@@ -334,7 +334,7 @@ James (Developer Agent)
 - 创建省市区组件:`mini/src/components/AreaCascader.tsx`
 - 创建地点搜索组件:`mini/src/components/LocationSearch.tsx`
 - 创建路线筛选组件:`mini/src/components/RouteFilter.tsx`
-- 迁移首页:`mini/src/pages/home/HomePage.tsx`
+- 迁移首页:`mini/src/pages/home/index.tsx`
 - 迁移活动选择页面:`mini/src/pages/select-activity/ActivitySelectPage.tsx`
 - 迁移班次列表页面:`mini/src/pages/schedule-list/ScheduleListPage.tsx`
 - 更新路由配置:`mini/src/app.config.ts:2-11`
@@ -368,7 +368,7 @@ James (Developer Agent)
 - `mini/src/components/AreaCascader.tsx` - 省市区三级联动组件
 - `mini/src/components/LocationSearch.tsx` - 地点搜索组件
 - `mini/src/components/RouteFilter.tsx` - 路线筛选组件
-- `mini/src/pages/home/HomePage.tsx` - 首页
+- `mini/src/pages/home/index.tsx` - 首页
 - `mini/src/pages/select-activity/ActivitySelectPage.tsx` - 活动选择页面
 - `mini/src/pages/schedule-list/ScheduleListPage.tsx` - 班次列表页面
 - `mini/src/app.config.ts` - 更新路由配置