变更: fix-missing-custom-tabbar 验证时间: 2026-06-24 验证模式: light 验证人: Claude Opus 4.6
修复微信小程序端自定义 tabBar 不显示的问题。根因为 src/custom-tab-bar/index.vue 在编译到微信小程序时未被编译为原生组件格式,导致构建产物中只有 .vue 文件,微信小程序无法识别。
修复方式:将 src/custom-tab-bar/index.vue 替换为微信小程序原生自定义 tabBar 组件:
src/custom-tab-bar/index.wxmlsrc/custom-tab-bar/index.wxsssrc/custom-tab-bar/index.jssrc/custom-tab-bar/index.json| # | 检查项 | 结果 | 说明 |
|---|---|---|---|
| 1 | tasks.md 全部完成 | PASS | 4 项任务均已标记 [x] |
| 2 | 改动文件与 tasks 一致 | PASS | 本次提交仅涉及 src/custom-tab-bar/ 与 OpenSpec 变更产物 |
| 3 | 编译通过 | PASS | npm run build:mp-weixin 成功 |
| 4 | 相关测试通过 | PASS | npm run type-check 通过;项目无单元测试 |
| 5 | 无明显安全问题 | PASS | 无硬编码密钥、无新增 unsafe 操作 |
| 6 | 代码审查 | SKIP | review_mode: off |
dist/build/mp-weixin/custom-tab-bar/ 下已生成:
index.wxmlindex.wxssindex.jsindex.json符合微信小程序自定义 tabBar 要求。
verification-before-completion 与 finishing-a-development-branch Superpowers 技能在当前环境未安装,本次验证按 Comet 轻量验证清单手动执行。验证通过 — 可进入归档阶段。