[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
+12 -6
View File
@@ -1,15 +1,16 @@
## SubmitBar
# SubmitBar
### Install
``` javascript
import { SubmitBar } from 'vant';
Vue.use(SubmitBar);
```
### Usage
## Usage
#### Basic Usage
### Basic Usage
```html
<van-submit-bar
@@ -19,7 +20,8 @@ Vue.use(SubmitBar);
/>
```
#### Disabled
### Disabled
`submit` event will not triggerd when disabled.
```html
@@ -33,7 +35,8 @@ Vue.use(SubmitBar);
/>
```
#### Loading
### Loading
`submit` event will not triggerd when loading.
```html
@@ -45,7 +48,8 @@ Vue.use(SubmitBar);
/>
```
#### Advanced Usage
### Advanced Usage
Use slot to add custom contents.
```html
@@ -61,6 +65,8 @@ Use slot to add custom contents.
</van-submit-bar>
```
## API
### Props
| Attribute | Description | Type | Default |