Просмотр исходного кода

chore: check off Task 3 progress

xuyunhui 1 неделя назад
Родитель
Сommit
e83d0cc8db

+ 3 - 3
docs/superpowers/plans/2026-06-24-weapp-capsule-safearea.md

@@ -215,7 +215,7 @@ git commit -m "feat: wrap TopBar right slot with CapsuleSafeArea, add min-w-0 fo
 - Consumes: `TopBar.vue`(`left` slot + `right` slot + 空 `title`)
 - Produces: 无
 
-- [ ] **Step 1: 替换顶部自定义 header 为 TopBar**
+- [x] **Step 1: 替换顶部自定义 header 为 TopBar**
 
 将模板中第 1-20 行:
 
@@ -265,7 +265,7 @@ git commit -m "feat: wrap TopBar right slot with CapsuleSafeArea, add min-w-0 fo
     </TopBar>
 ```
 
-- [ ] **Step 2: 更新 script 导入**
+- [x] **Step 2: 更新 script 导入**
 
 将 `import StatusBar from '@/components/common/StatusBar.vue'` 替换为:
 
@@ -275,7 +275,7 @@ import TopBar from '@/components/common/TopBar.vue'
 
 删除 `StatusBar` 的导入(`TopBar` 内部已包含 `status-bar` 区域)。
 
-- [ ] **Step 3: Commit**
+- [x] **Step 3: Commit**
 
 ```bash
 git add src/components/home/DispatchHome.vue

+ 4 - 6
openspec/changes/weapp-capsule-safearea/.comet/subagent-progress.md

@@ -7,19 +7,19 @@
 
 ## Current Task
 
-- Task: Task 2: 改造 TopBar.vue 集成 CapsuleSafeArea
-- Plan Task Text: "Task 2: 改造 TopBar.vue 集成 CapsuleSafeArea"
-- OpenSpec Task Text: "1.2 Modify `src/components/common/TopBar.vue` to wrap the right slot with `CapsuleSafeArea`."
+- Task: Task 3: 改造调度端首页 DispatchHome.vue
+- Plan Task Text: "Task 3: 改造调度端首页 DispatchHome.vue"
+- OpenSpec Task Text: "2.1 Update `src/components/home/DispatchHome.vue`, `SalesHome.vue`, `ConstructionHome.vue` to place the notification bell inside `TopBar` right slot."
 - Stage: implementing
 - Review-Fix Round: 0
 
 ## Completed Tasks
 
 - Task 1: 创建 CapsuleSafeArea.vue 组件(commit a5ccd6e)
+- Task 2: 改造 TopBar.vue 集成 CapsuleSafeArea(commit 5aa4620)
 
 ## Pending Tasks
 
-- Task 3: 改造调度端首页 DispatchHome.vue
 - Task 4: 改造销售端首页 SalesHome.vue
 - Task 5: 改造施工端首页 ConstructionHome.vue
 - Task 6: 改造任务列表页 TaskListView.vue
@@ -28,6 +28,4 @@
 
 ## Notes
 
-- Task 1 已实现并提交,包含 CapsuleSafeArea.vue 和 CapsuleSafeArea.test.ts 测试文件。
-- 测试文件保留(用户已确认)。
 - 任务之间禁止暂停,连续执行。

+ 1 - 1
openspec/changes/weapp-capsule-safearea/tasks.md

@@ -5,7 +5,7 @@
 
 ## 2. Page header fixes
 
-- [ ] 2.1 Update `src/components/home/DispatchHome.vue`, `SalesHome.vue`, `ConstructionHome.vue` to place the notification bell inside `TopBar` right slot.
+- [x] 2.1 Update `src/components/home/DispatchHome.vue`, `SalesHome.vue`, `ConstructionHome.vue` to place the notification bell inside `TopBar` right slot.
 - [ ] 2.2 Update `src/components/task/TaskListView.vue` to place the add/publish button inside `TopBar` right slot.
 - [ ] 2.3 Update `src/components/dispatch/ScheduleView.vue` to place "今天" and "新增排班" buttons inside `TopBar` right slot.