docs: prettier all markdown files
This commit is contained in:
+22
-22
@@ -38,18 +38,18 @@ export default {
|
||||
</van-overlay>
|
||||
|
||||
<style>
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.block {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
background-color: #fff;
|
||||
}
|
||||
.block {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
||||
@@ -58,21 +58,21 @@ export default {
|
||||
### Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| show | Whether to show overlay | *boolean* | `false` |
|
||||
| z-index | z-index | *number \| string* | `1` |
|
||||
| duration | Animation duration | *number \| string* | `0.3` |
|
||||
| class-name | ClassName | *string* | - |
|
||||
| custom-class `v2.2.5` | Custom style | *object* | - |
|
||||
| --- | --- | --- | --- |
|
||||
| show | Whether to show overlay | _boolean_ | `false` |
|
||||
| z-index | z-index | _number \| string_ | `1` |
|
||||
| duration | Animation duration | _number \| string_ | `0.3` |
|
||||
| class-name | ClassName | _string_ | - |
|
||||
| custom-class `v2.2.5` | Custom style | _object_ | - |
|
||||
|
||||
### Events
|
||||
|
||||
| Event | Description | Arguments |
|
||||
|------|------|------|
|
||||
| click | Triggered when clicked | *event: Event* |
|
||||
| Event | Description | Arguments |
|
||||
| ----- | ---------------------- | -------------- |
|
||||
| click | Triggered when clicked | _event: Event_ |
|
||||
|
||||
### Slots
|
||||
|
||||
| Name | Description |
|
||||
|------|------|
|
||||
| Name | Description |
|
||||
| ---------------- | ------------ |
|
||||
| default `v2.2.5` | Default slot |
|
||||
|
||||
+23
-23
@@ -44,18 +44,18 @@ export default {
|
||||
</van-overlay>
|
||||
|
||||
<style>
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
.wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.block {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
background-color: #fff;
|
||||
}
|
||||
.block {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
background-color: #fff;
|
||||
}
|
||||
</style>
|
||||
```
|
||||
|
||||
@@ -63,22 +63,22 @@ export default {
|
||||
|
||||
### Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
|------|------|------|------|
|
||||
| show | 是否展示遮罩层 | *boolean* | `false` |
|
||||
| z-index | z-index 层级 | *number \| string* | `1` |
|
||||
| duration | 动画时长,单位秒 | *number \| string* | `0.3` |
|
||||
| class-name | 自定义类名 | *string* | - |
|
||||
| custom-style `v2.2.5` | 自定义样式 | *object* | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| --------------------- | ---------------- | ------------------ | ------- |
|
||||
| show | 是否展示遮罩层 | _boolean_ | `false` |
|
||||
| z-index | z-index 层级 | _number \| string_ | `1` |
|
||||
| duration | 动画时长,单位秒 | _number \| string_ | `0.3` |
|
||||
| class-name | 自定义类名 | _string_ | - |
|
||||
| custom-style `v2.2.5` | 自定义样式 | _object_ | - |
|
||||
|
||||
### Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
|------|------|------|
|
||||
| click | 点击时触发 | *event: Event* |
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | -------------- |
|
||||
| click | 点击时触发 | _event: Event_ |
|
||||
|
||||
### Slots
|
||||
|
||||
| 名称 | 说明 |
|
||||
|------|------|
|
||||
| 名称 | 说明 |
|
||||
| ---------------- | ---------------------------------- |
|
||||
| default `v2.0.5` | 默认插槽,用于在遮罩层上方嵌入内容 |
|
||||
|
||||
Reference in New Issue
Block a user