docs: add profile page design spec

This commit is contained in:
2026-04-22 22:28:59 +08:00
parent 1949cb9c1e
commit c77883fcbf
3 changed files with 231 additions and 2 deletions

View File

@@ -7,6 +7,7 @@
- 主包页面:`首页``登录页`
- 示例分包:`packages/demo/pages/workbench`
- 公共层:`services``stores``config``components`
- AI 文档:`.ai-specs`
- 工程化:`ESLint``Jest``Prettier``miniprogram-ci`
## 环境准备
@@ -92,6 +93,7 @@ npm run format
```text
.
├─.ai-specs # AI 规范与设计文档
├─components
│ ├─base # 基础组件封装,当前包含 app-button
│ └─biz # 业务组件封装,当前包含 entry-card
@@ -105,6 +107,10 @@ npm run format
└─utils # 纯工具函数
```
`.ai-specs` 当前已启用文档:
- `coding-specs/2026-04-22-profile-page-static-design.md`
## 运行说明
- 页面里不要直接调用 `wx.request`,统一走 `services/request`