Files
jiapuapp/.superpowers/sdd/task-4-brief.md
T
rain a127280ce6 1
2026-07-21 21:02:57 +08:00

47 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### Task 4: MuMu 原生视觉验收门
**Files:**
- Create: `tmp/G03-shared-header-mumu.png`
- Create: `tmp/G06-shared-header-mumu.png`
- Create: `tmp/G01-root-header-regression-mumu.png`
**Interfaces:**
- Consumes: HBuilderX 已同步到 MuMu 的最新 Android 包与设备 `emulator-5554`
- Produces: G03、G06、G01 三张原生截图及用户逐页结论。
- [ ] **Step 1: 确认设备尺寸与密度**
Run:
```powershell
$adb = 'C:\Users\Administrator\Desktop\HBuilderX\plugins\launcher-tools\tools\adbs\adb.exe'
& $adb devices
& $adb -s emulator-5554 shell wm size
& $adb -s emulator-5554 shell wm density
```
Expected: `emulator-5554``device`,并记录当前 MuMu 的物理尺寸与密度。
- [ ] **Step 2: 捕获 G03、G06、G01 原生截图**
每次人工导航到指定页面后执行同一组命令,仅替换文件名:
```powershell
& $adb -s emulator-5554 shell screencap -p /sdcard/G03-shared-header-mumu.png
& $adb -s emulator-5554 pull /sdcard/G03-shared-header-mumu.png tmp/G03-shared-header-mumu.png
```
G06 使用 `G06-shared-header-mumu.png`G01 使用 `G01-root-header-regression-mumu.png`
- [ ] **Step 3: 按页面验收并向用户展示**
检查:
```text
G03:返回按钮和“创建家谱”完整位于系统状态栏下方,正文紧随占位槽,无裁切或横向溢出。
G06:公共二级页头获得相同安全区,正文没有被推入页头或遮挡。
G01:根页头高度、logo、标题和操作区与已放行状态一致。
```
只有用户明确确认三页后,才能把本次公共页头改动报告为视觉通过。G03 原生第二步仍因既有路由参数问题单独记为未通过,不得用本次页头结论覆盖。