Introduce unified design tokens and migrate Home, Orders, and Statistics UI.
Establish AppColor/AppFont/AppSpacing/AppRadius theming, shared components, and design-system docs so pilot screens align with Android while keeping iOS-native spacing and touch targets. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
24
design-system/随心瞰商家版/pages/home.md
Normal file
24
design-system/随心瞰商家版/pages/home.md
Normal file
@ -0,0 +1,24 @@
|
||||
# Home 页面 Override
|
||||
|
||||
覆盖 MASTER 的以下规则:
|
||||
|
||||
## Navigation
|
||||
|
||||
- 隐藏系统 `UINavigationBar`
|
||||
- 使用 `HomeScenicHeaderView`(高度 `AppSpacing.homeHeaderHeight` = 52pt)
|
||||
|
||||
## Background
|
||||
|
||||
- `AppColor.pageBackground`(`#F5F5F5`)
|
||||
|
||||
## Layout
|
||||
|
||||
- `UIScrollView` + 垂直 `UIStackView`
|
||||
- 水平 inset:`AppSpacing.screenHorizontalInset`(16pt)
|
||||
- 卡片间距:`AppSpacing.sm`(12pt)
|
||||
- 卡片圆角:`AppRadius.md`(10pt)
|
||||
|
||||
## Cards
|
||||
|
||||
- `HomeWorkStatusCardView`:在线 `AppColor.online`,离线 `AppColor.inputBackground`
|
||||
- 快捷操作、应用网格等同 Home 卡片规范
|
||||
Reference in New Issue
Block a user