[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
+10 -5
View File
@@ -1,15 +1,17 @@
## Progress
# Progress
### Install
``` javascript
import { Progress } from 'vant';
Vue.use(Progress);
```
### Usage
## Usage
### Basic Usage
#### Basic Usage
Use 'percentage' prop to set current progress
```html
@@ -17,14 +19,15 @@ Use 'percentage' prop to set current progress
```
#### Inactive
### Inactive
```html
<van-progress inactive :percentage="50" />
```
#### Custom Style
### Custom Style
Use `pivot-text` to custom textuse `color` to custom bar color
```html
@@ -48,6 +51,8 @@ Use `pivot-text` to custom textuse `color` to custom bar color
/>
```
## API
### Props
| Attribute | Description | Type | Default |