-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: eddytlxiong <[email protected]>
- Loading branch information
1 parent
6a24928
commit a3c3fac
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: ActionSheet | ||
description: A specific type of modal popup triggered by a user action that presents a set of two or more options relevant to the current context. | ||
spline: base | ||
isComponent: true | ||
toc: false | ||
--- | ||
|
||
### List Type | ||
|
||
The list option is a list at the left and right ends; | ||
|
||
Options are plain text; | ||
|
||
For warning operations (such as irreversible destructive operations), it is recommended to put the change operation at the end and mark it in red. | ||
|
||
The list type can have the following different styles according to the content of the selected items | ||
|
||
{{ list }} | ||
|
||
### Grid Type | ||
|
||
The panel runs through from left to right, and uses a grid structure of 3 or 4 columns according to the number of operations to make the menu content as full as possible. | ||
|
||
Menu options are presented in the form of icons plus text. | ||
|
||
When the number of menu items exceeds 8, it can be turned over. | ||
|
||
{{ grid }} | ||
|
||
### Grid Multiple | ||
|
||
{{ grid-multiple }} | ||
|
||
### Component Status | ||
|
||
{{ status }} | ||
|
||
### Component Style | ||
|
||
{{ align }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,11 @@ toc: false | |
### 宫格型-多页 | ||
|
||
{{ grid-multiple }} | ||
|
||
### 组件状态 | ||
|
||
{{ status }} | ||
|
||
### 组件样式 | ||
|
||
{{ align }} |