mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] Loading: remove circle type from document (#941)
This commit is contained in:
parent
cd049f45ad
commit
8c4f6c7268
@ -9,11 +9,6 @@
|
|||||||
<van-loading type="spinner" color="black" />
|
<van-loading type="spinner" color="black" />
|
||||||
<van-loading type="spinner" color="white" />
|
<van-loading type="spinner" color="white" />
|
||||||
</demo-block>
|
</demo-block>
|
||||||
|
|
||||||
<demo-block :title="$t('title3')">
|
|
||||||
<van-loading type="circle" color="black" />
|
|
||||||
<van-loading type="circle" color="white" />
|
|
||||||
</demo-block>
|
|
||||||
</demo-section>
|
</demo-section>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -22,13 +17,11 @@ export default {
|
|||||||
i18n: {
|
i18n: {
|
||||||
'zh-CN': {
|
'zh-CN': {
|
||||||
title1: 'Circular',
|
title1: 'Circular',
|
||||||
title2: 'Spinner',
|
title2: 'Spinner'
|
||||||
title3: 'Circle'
|
|
||||||
},
|
},
|
||||||
'en-US': {
|
'en-US': {
|
||||||
title1: 'Circular',
|
title1: 'Circular',
|
||||||
title2: 'Spinner',
|
title2: 'Spinner'
|
||||||
title3: 'Circle'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -23,17 +23,10 @@ Vue.use(Loading);
|
|||||||
<van-loading type="spinner" color="white" />
|
<van-loading type="spinner" color="white" />
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Circle
|
|
||||||
|
|
||||||
```html
|
|
||||||
<van-loading type="circle" color="black" />
|
|
||||||
<van-loading type="circle" color="white" />
|
|
||||||
```
|
|
||||||
|
|
||||||
### API
|
### API
|
||||||
|
|
||||||
| Attribute | Description | Type | Default | Accepted Values |
|
| Attribute | Description | Type | Default | Accepted Values |
|
||||||
|-----------|-----------|-----------|-------------|-------------|
|
|-----------|-----------|-----------|-------------|-------------|
|
||||||
| color | Color | `String` | `black` | `black` `white` |
|
| color | Color | `String` | `black` | `black` `white` |
|
||||||
| type | Type | `String` | `circular` | `spinner` `circle` |
|
| type | Type | `String` | `circular` | `spinner` |
|
||||||
| size | Size | `String` | `30px` | - |
|
| size | Size | `String` | `30px` | - |
|
||||||
|
@ -23,17 +23,10 @@ Vue.use(Loading);
|
|||||||
<van-loading type="spinner" color="white" />
|
<van-loading type="spinner" color="white" />
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Circle
|
|
||||||
|
|
||||||
```html
|
|
||||||
<van-loading type="circle" color="black" />
|
|
||||||
<van-loading type="circle" color="white" />
|
|
||||||
```
|
|
||||||
|
|
||||||
### API
|
### API
|
||||||
|
|
||||||
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|
| 参数 | 说明 | 类型 | 默认值 | 可选值 |
|
||||||
|-----------|-----------|-----------|-------------|-------------|
|
|-----------|-----------|-----------|-------------|-------------|
|
||||||
| color | 颜色 | `String` | `black` | `white` |
|
| color | 颜色 | `String` | `black` | `white` |
|
||||||
| type | 类型 | `String` | `circular` | `spinner` `circle` |
|
| type | 类型 | `String` | `circular` | `spinner` |
|
||||||
| size | 大小 | `String` | `30px` | - |
|
| size | 大小 | `String` | `30px` | - |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user