feat(mobile): track mobile app scaffold

This commit is contained in:
caoxiaozhu
2026-05-22 12:41:45 +08:00
parent 222ba0bfdc
commit 1f15699013
79 changed files with 16854 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# Shared Layer
共享层承载跨 feature 的稳定能力:
- `api`:接口 client、OpenAPI 生成类型、请求错误映射。
- `auth`登录态、SecureStore、后端模拟身份请求头。
- `components`:可复用展示组件和触控组件。
- `domain`:报销状态、审批阶段、权限判断和 view model 映射。
- `mock`:初始化阶段的本地演示数据,接入后端后逐步替换。
业务状态判断优先放在 `domain`,避免 Web 和 mobile 对同一状态出现不同解释。