docs: freeze YuXinGu lexicon, journey, and P1 engineering sources
Establish product language contract, user journey with dual growth engines, ERD/OpenAPI/Go boundaries, and H5 routes (/profile, /portrait, /relation, /membership) before P1 implementation. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,64 +1,39 @@
|
||||
# UI — Product chrome + pointer to Design Contract
|
||||
# UI — Product chrome
|
||||
|
||||
**Visual / component rules:** `.ai/design/design-system.md` (mandatory before UI work).
|
||||
**Catalog:** `.ai/design/component-catalog.md`
|
||||
**Platform:** `.ai/design/platform/h5.md` (default) · `mini-program.md` · `website.md` · `flutter.md`
|
||||
**语言:** `.ai/product/lexicon.md`(强制)
|
||||
**视觉:** `.ai/design/design-system.md` + `component-catalog.md`
|
||||
**平台:** `.ai/design/platform/h5.md`(默认)
|
||||
**IA:** `.ai/product/feature-map.md`
|
||||
|
||||
---
|
||||
|
||||
## Brand (summary)
|
||||
## Tabs
|
||||
|
||||
- Primary `#E54D42` → `--color-primary` / `--yxg-pri`
|
||||
- Atmosphere: peach wash → white sheet
|
||||
- Mobile-first; user column ~430px
|
||||
- Unicode symbols over emoji in chrome
|
||||
首页 / 探索 / **问答** / 陪伴 / 我的
|
||||
|
||||
问答为战略中心 Tab(视觉可突出)。
|
||||
|
||||
---
|
||||
|
||||
## H5 structure
|
||||
## Brand summary
|
||||
|
||||
```
|
||||
apps/user-h5/src/
|
||||
pages/
|
||||
components/
|
||||
layouts/
|
||||
hooks/
|
||||
api/
|
||||
stores/
|
||||
router/
|
||||
assets/
|
||||
```
|
||||
|
||||
No raw `fetch` in `pages/`. Tokens from `packages/ui`.
|
||||
|
||||
---
|
||||
|
||||
## Tabs (product IA)
|
||||
|
||||
Home / Explore / **Ask** / Companion / Mine.
|
||||
Ask is the strategic center tab.
|
||||
- Primary `#E54D42`;桃色 wash → 白 sheet
|
||||
- 移动优先 ~430px
|
||||
- Unicode 符号优先于 emoji
|
||||
|
||||
---
|
||||
|
||||
## Copy / compliance
|
||||
|
||||
- No medical cure claims
|
||||
- No 吉凶祸福
|
||||
- Report screens include disclaimer
|
||||
- Brand voice: see design-system §13
|
||||
- 用:探索结果、个人画像、关系理解、深度版、生活建议、成长报告
|
||||
- 不用:解码、运势、合盘、解锁(主文案)、算命、吉凶、治疗承诺
|
||||
- 成长报告页脚免责声明
|
||||
|
||||
---
|
||||
|
||||
## Interaction
|
||||
## H5 structure
|
||||
|
||||
- One job per section
|
||||
- Home first viewport: brand, decode entry, then content sheet
|
||||
- Loading / empty / error required for network views
|
||||
`apps/user-h5/src/{pages,components,layouts,hooks,api,stores,router}`
|
||||
无 raw `fetch`;tokens 来自 `packages/ui`。
|
||||
|
||||
---
|
||||
|
||||
## Mini program
|
||||
|
||||
- Own `components/`; share tokens from `packages/ui`, not Vue SFCs
|
||||
- Pages → `services/*` only
|
||||
- See `design/platform/mini-program.md`
|
||||
首页首屏:品牌 · 建档/性格探索入口 · 再内容,勿堆仪表盘。
|
||||
|
||||
Reference in New Issue
Block a user