[Doc] new theme

This commit is contained in:
陈嘉涵
2019-05-15 20:53:04 +08:00
parent 3cae4288f2
commit d0f4169c86
130 changed files with 1460 additions and 1147 deletions
+7 -4
View File
@@ -1,15 +1,16 @@
## Popup
# Popup
### Install
``` javascript
import { Popup } from 'vant';
Vue.use(Popup);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
Popup is located in the middle of the screen by default
@@ -27,7 +28,7 @@ export default {
};
```
#### Position
### Position
Use `position` prop to set popup display position
@@ -37,6 +38,8 @@ Use `position` prop to set popup display position
</van-popup>
```
## API
### Props
| Attribute | Description | Type | Default |