docs: prettier all markdown files
This commit is contained in:
+14
-14
@@ -40,9 +40,9 @@ Use the image prop to display different placeholder images
|
||||
/>
|
||||
|
||||
<style>
|
||||
.custom-image img {
|
||||
border-radius: 100%;
|
||||
}
|
||||
.custom-image img {
|
||||
border-radius: 100%;
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
||||
@@ -56,9 +56,9 @@ Use the image prop to display different placeholder images
|
||||
</van-empty>
|
||||
|
||||
<style>
|
||||
.bottom-button {
|
||||
width: 160px;
|
||||
}
|
||||
.bottom-button {
|
||||
width: 160px;
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
||||
@@ -67,14 +67,14 @@ Use the image prop to display different placeholder images
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| image | Image type,can be set to `error` `network` `search` or image URL | *string* | `default` |
|
||||
| description | Desciption | *string* | - |
|
||||
| --- | --- | --- | --- |
|
||||
| image | Image type,can be set to `error` `network` `search` or image URL | _string_ | `default` |
|
||||
| description | Desciption | _string_ | - |
|
||||
|
||||
### Slots
|
||||
|
||||
| Name | Description |
|
||||
|------|------|
|
||||
| default | Custom bottom content |
|
||||
| image | Custom image |
|
||||
| description | Custom description |
|
||||
| Name | Description |
|
||||
| ----------- | --------------------- |
|
||||
| default | Custom bottom content |
|
||||
| image | Custom image |
|
||||
| description | Custom description |
|
||||
|
||||
+14
-14
@@ -46,10 +46,10 @@ Empty 组件内置了多种占位图片类型,可以在不同业务场景下
|
||||
/>
|
||||
|
||||
<style>
|
||||
.custom-image .van-empty__image {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.custom-image .van-empty__image {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
||||
@@ -65,9 +65,9 @@ Empty 组件内置了多种占位图片类型,可以在不同业务场景下
|
||||
</van-empty>
|
||||
|
||||
<style>
|
||||
.bottom-button {
|
||||
width: 160px;
|
||||
}
|
||||
.bottom-button {
|
||||
width: 160px;
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
||||
@@ -76,14 +76,14 @@ Empty 组件内置了多种占位图片类型,可以在不同业务场景下
|
||||
### Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| image | 图片类型,可选值为 `error` `network` `search`,支持传入图片 URL | *string* | `default` |
|
||||
| description | 图片下方的描述文字 | *string* | - |
|
||||
| --- | --- | --- | --- |
|
||||
| image | 图片类型,可选值为 `error` `network` `search`,支持传入图片 URL | _string_ | `default` |
|
||||
| description | 图片下方的描述文字 | _string_ | - |
|
||||
|
||||
### Slots
|
||||
|
||||
| 名称 | 说明 |
|
||||
|------|------|
|
||||
| default | 自定义底部内容 |
|
||||
| image | 自定义图标 |
|
||||
| 名称 | 说明 |
|
||||
| ----------- | -------------- |
|
||||
| default | 自定义底部内容 |
|
||||
| image | 自定义图标 |
|
||||
| description | 自定义描述文字 |
|
||||
|
||||
Reference in New Issue
Block a user