docs: mark sop fill mint highlight plan progress

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-28 14:55:18 +08:00
1 parent 7541b0d762
commit 3d98104455
1 file changed
+10 -10
@@ -28,7 +28,7 @@
**Files:**
- Modify: `web-admin/src/utils/sop-print.ts`(`SOP_SHARED_CONTENT_STYLE` 内约 186–198 行)
- [ ] **Step 1: 确认当前规则片段**
- [x] **Step 1: 确认当前规则片段**
打开 `web-admin/src/utils/sop-print.ts`,定位:
@@ -50,7 +50,7 @@
(文件中可能已有未提交的 `.sop-row-hidden` 相关改动,**保留不动**,只改手填高亮相关规则。)
- [ ] **Step 2: 替换为方案 D 样式**
- [x] **Step 2: 替换为方案 D 样式**
将上述片段替换为:
@@ -85,7 +85,7 @@
- 勾选 `.sop-check` 规则**不要**改动
- `SOP_EDITOR_CONTENT_STYLE` / `SOP_PRINT_CONTENT_STYLE` 已嵌入 `${SOP_SHARED_CONTENT_STYLE}`,无需再改这两处
- [ ] **Step 3: 用 grep 验证共享串已含目标 token**
- [x] **Step 3: 用 grep 验证共享串已含目标 token**
Run:
@@ -96,7 +96,7 @@ rg -n "059669|10b981|sop-blank-cell" src/utils/sop-print.ts
Expected: `sop-print.ts` 中出现 `#059669`、`#10b981`,且与 `.sop-underline` / `.sop-blank-cell` 同段;`.sop-check--checked` 仍为 `#334155`(未被改成绿)。
- [ ] **Step 4: Commit**
- [x] **Step 4: Commit**
```bash
git add web-admin/src/utils/sop-print.ts
@@ -116,7 +116,7 @@ EOF
**Files:**
- Modify: `docs/sop-templates/SOP富文本制作标准.md`
- [ ] **Step 1: 在「必备 CSS 类」表中补充手填视觉说明**
- [x] **Step 1: 在「必备 CSS 类」表中补充手填视觉说明**
在第 3 节表格中,将 `sop-underline` / `sop-blank-cell` 两行改为(或在其后追加说明列内容):
@@ -125,7 +125,7 @@ EOF
| `sop-underline` | 下划线填写区,**左对齐**;运行时字色 `#059669`、字重 700,下划线 `#10b981`(见 `sop-print.ts`) |
| `sop-blank-cell` | 空白填写单元格,**左对齐**;运行时字色/字重同上 |
- [ ] **Step 2: 在「4.2 下划线填写」末尾追加一段**
- [x] **Step 2: 在「4.2 下划线填写」末尾追加一段**
```markdown
运行时样式(编辑 + 打印,由 `sop-print.ts` 注入,模板 HTML 勿内联字色):
@@ -135,7 +135,7 @@ EOF
- 模板固定文案保持深灰;勾选框仍用 `#334155` 实心态
```
- [ ] **Step 3: 验收清单增加一项**
- [x] **Step 3: 验收清单增加一项**
在第 6 节「验收清单」中增加:
@@ -143,7 +143,7 @@ EOF
- [ ] 手填区(下划线 / 空白格)为薄荷绿加粗,模板文案为深灰
```
- [ ] **Step 4: Commit**
- [x] **Step 4: Commit**
```bash
git add docs/sop-templates/SOP富文本制作标准.md
@@ -160,7 +160,7 @@ EOF
**Files:** 无代码改动
- [ ] **Step 1: 启动或确认 web-admin 已指向含上述改动的构建**
- [x] **Step 1: 启动或确认 web-admin 已指向含上述改动的构建**
Run(若尚未运行):
@@ -181,7 +181,7 @@ cd /Users/wuzilong/work/00code/zkxw/web-admin && pnpm dev
打开 `http://localhost:3006/#/production-group/production/my-production-task`,重复 Step 2 中 SOP 区检查(两侧共用样式,预期一致)。
- [ ] **Step 4: 勾选计划 checkbox**
- [x] **Step 4: 勾选计划 checkbox**
将本 plan 中 Task 1–3 的 `- [ ]` 在完成后改为 `- [x]`(可选,便于追踪)。