mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: 调整组件介绍文档
This commit is contained in:
parent
0c6f7c63a7
commit
56429ad4e1
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The Picker component is usually used with [Popup](#/en-US/popup) Component.
|
||||
A three-level linkage selection of provinces and cities, usually used in conjunction with [Popup](#/en-US/popup) component.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Display the logo number or small red dot in the upper right corner.
|
||||
Display a small badge or a red dot to the top-right of its child.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The cascading selection box is used for the selection of multi-level data. The typical scene is the selection of provinces and cities.
|
||||
The cascader component is used for the selection of multi-level data. The typical scene is the selection of provinces and cities.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Used to switch between selected and unselected states.
|
||||
A group of options for multiple choices.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### 介绍
|
||||
|
||||
用于在选中和非选中状态之间进行切换。
|
||||
在一组备选项中进行多选。
|
||||
|
||||
### 引入
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The circular progress bar component supports the gradient animation of the progress.
|
||||
Circular progress bar component, and supports gradient color animation.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
It is used to display the countdown value in real time, and the accuracy supports milliseconds.
|
||||
Used to display the countdown value in real time, and precision supports milliseconds.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Pop-up modal boxes are often used for message prompts, message confirmations, or to complete specific interactive operations in the current page. The Dialog component supports two methods: function call and component call.
|
||||
A modal box pops up on the page, which is often used for message prompts, message confirmation, or to complete specific interactive operations in the current page. It supports two methods: function call and component call.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,9 +2,7 @@
|
||||
|
||||
### 介绍
|
||||
|
||||
弹出模态框,常用于消息提示、消息确认,或在当前页面内完成特定的交互操作。
|
||||
|
||||
弹出框组件支持函数调用和组件调用两种方式。
|
||||
弹出模态框,常用于消息提示、消息确认,或在当前页面内完成特定的交互操作,支持函数调用和组件调用两种方式。
|
||||
|
||||
### 函数调用
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Used to divide content into multiple areas.
|
||||
Separate content into multiple areas.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The input box component in the form.
|
||||
Field component let users enter and edit text.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### 介绍
|
||||
|
||||
表单中的输入框组件。
|
||||
用户可以在文本框内输入或编辑文字。
|
||||
|
||||
### 引入
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
It is used for data entry and verification, and supports input boxes, radio buttons, check boxes, file uploads and other types.
|
||||
Used for data entry and verification, and supports input boxes, radio buttons, check boxes, file uploads and other types.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The font-based icon set can be used through the Icon component or referenced in other components through the `icon` property.
|
||||
The font-based icon set that can be used via the Icon component or referenced in other components via the `icon` attribute.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
This is an enhanced version of the img tag, which provides multiple image filling modes, supports lazy loading of images, prompts during loading, and prompts for loading failures.
|
||||
Enhanced img tag with multiple image fill modes, support for image lazy loading, loading hint, loading failure hint.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Used for the index classification display and quick positioning of the list.
|
||||
Used for indexed sorting display and quick positioning of lists.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Used to display a group of message notifications in a loop.
|
||||
Used to display a group of message notifications in a continuons loop.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The pseudo-numeric keyboard can be used with [PasswordInput](#/en-US/password-input) components or custom input box components.
|
||||
The numberkeyboard component can be used with [PasswordInput](#/en-US/password-input) components or custom input box components.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The PasswordInput component is usually used with [NumberKeyboard](#/en-US/number-keyboard) Component.
|
||||
The passwordinput component is usually used with [NumberKeyboard](#/en-US/number-keyboard) Component.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The Picker component is usually used with [Popup](#/en-US/popup) Component.
|
||||
The picker component is usually used with [Popup](#/en-US/popup) Component.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Pop-up bubble menu.
|
||||
Used to display some content on top of another.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The pop-up layer container is used to display pop-up windows, information prompts, etc., and supports multiple pop-up layers to display.
|
||||
Used to display pop-up windows, information prompts, etc., and supports multiple pop-up layers to display.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Used to select a single result among multiple options.
|
||||
Single selection among multiple options.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### 介绍
|
||||
|
||||
用于在多个选项中选择单个结果。
|
||||
在一组备选项中进行单选。
|
||||
|
||||
### 引入
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Used for rating things.
|
||||
The rate component is used for rating things.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The input box component used for searching.
|
||||
Input box component for search scenarios.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The sharing panel that pops up at the bottom is used to display the operation buttons corresponding to each sharing channel, and does not include specific sharing logic.
|
||||
A pop-up sharing panel at the bottom for displaying the action buttons corresponding to each sharing channel, without specific sharing logic.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Slide the input bar to select a value within a given range.
|
||||
Used to select a value within a given range.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The stepper consists of an increase button, a decrease button and an input box, which are used to input or adjust numbers within a certain range.
|
||||
The stepper component consists of an increase button, a decrease button and an input box, which are used to input and adjust numbers within a certain range.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Used to show each link of the operation process and let users understand the position of the current operation in the overall process.
|
||||
Used to show the various parts of the action flow and let the user know where the current action fits into the overall flow.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The Sticky component has the same effect as the `position: sticky` property in CSS. When the component is within the screen range, it will be arranged according to the normal layout. When the component rolls out of the screen, it will always be fixed at the top of the screen.
|
||||
The sticky component is consistent with the effect achieved by the `position: sticky` property in CSS, in that when the component is within screen range, it will follow the normal layout arrangement, and when the component rolls out of screen range, it will always be fixed at the top of the screen.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
The bottom navigation bar is used to switch between different pages.
|
||||
Used to switch between different pages.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
A black translucent prompt pops up in the middle of the page, which is used in scenarios such as message notification, loading prompt, and operation result prompt.
|
||||
Black semi-transparent pop-up hint in the middle of the page, used for message notification, loading hint, operation result hint and other scenarios.
|
||||
|
||||
### Install
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### Intro
|
||||
|
||||
Used to upload local pictures or files to the server, and display preview images and upload progress during the upload process. Currently, the Uploader component does not contain the interface logic for uploading files to the server. This step needs to be implemented by yourself.
|
||||
Used to upload a local image or file to the server and display a preview image and upload progress during the upload process. The Uploader component does not currently contain the interface logic for uploading files to the server, this step needs to be implemented by the user.
|
||||
|
||||
### Install
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user