Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(LoadingPage): 新增组件 #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions react/0000-LoadingPage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- 开始日期:2024-06-03
- 目标主要版本:NutUI-React-Taro 2.0
- 参考问题 Issues:

# 概括

加载是给用户反馈当前界面信息和状态的过程,用于缓解用户因为等待所产生的焦虑。
整页加载用于页面初次加载资源的场景。

# 基本示例

# 动机

业务需要,规范化样式。

# 详细设计

LoadingPage:

| 属性 | 描述 | 类型 | 默认值 |
| ----------- | ---------- | --------- | ------ |
| LoadingIcon | 自定义动画 | ReactNode | - |

# 缺点

京东风格较突出。

# 备择方案

# 采用策略

# 未解决的问题

- RN、鸿蒙端的动画效果
- 不带京东元素的通用 icon