docs: prettier all markdown files

This commit is contained in:
chenjiahan
2020-04-11 09:17:33 +08:00
committed by neverland
parent 48067f79db
commit 7f84f8a487
140 changed files with 4441 additions and 4723 deletions
+11 -14
View File
@@ -14,22 +14,19 @@ Vue.use(Loading);
### Type
```html
<van-loading />
<van-loading type="spinner" />
<van-loading /> <van-loading type="spinner" />
```
### Color
```html
<van-loading color="#1989fa" />
<van-loading type="spinner" color="#1989fa" />
<van-loading color="#1989fa" /> <van-loading type="spinner" color="#1989fa" />
```
### Size
```html
<van-loading size="24" />
<van-loading type="spinner" size="24px" />
<van-loading size="24" /> <van-loading type="spinner" size="24px" />
```
### Text
@@ -49,15 +46,15 @@ Vue.use(Loading);
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| color | Loading color | *string* | `#c9c9c9` |
| type | Can be set to `spinner` | *string* | `circular` |
| size | Icon size | *number \| string* | `30px` |
| text-size | Text font size | *number \| string* | `14px` |
| vertical | Whether to arrange icons and text content vertically | *boolean* | `false` |
| --- | --- | --- | --- |
| color | Loading color | _string_ | `#c9c9c9` |
| type | Can be set to `spinner` | _string_ | `circular` |
| size | Icon size | _number \| string_ | `30px` |
| text-size | Text font size | _number \| string_ | `14px` |
| vertical | Whether to arrange icons and text content vertically | _boolean_ | `false` |
### Slots
| Name | Description |
|------|------|
| Name | Description |
| ------- | ------------ |
| default | Loading text |