[新增] panel 组件
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
##### 基础
|
||||
|
||||
::: demo 传入 columns 数据,自动生成表格
|
||||
|
||||
<template>
|
||||
@@ -25,8 +23,6 @@ export default {
|
||||
|
||||
:::
|
||||
|
||||
##### 尺寸
|
||||
|
||||
::: demo 传入 columns 数据,自动生成表格
|
||||
|
||||
<template>
|
||||
@@ -50,11 +46,4 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
#### 插槽
|
||||
|
||||
| name | 说明 | |
|
||||
| :------------ | :-------------------------------------------|----------|
|
||||
| type | 按钮类型 | `primary` `normal` `warm` `danger` |
|
||||
| size | 按钮尺寸 | `lg` `sm` `xs`|
|
||||
:::
|
||||
@@ -1,6 +1,4 @@
|
||||
##### 基础
|
||||
|
||||
::: demo 传入 columns 数据,自动生成表格
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-icon type="layui-icon-face-smile"></lay-icon>
|
||||
@@ -18,11 +16,4 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
#### 插槽
|
||||
|
||||
| name | 说明 | |
|
||||
| :------------ | :-------------------------------------------|----------|
|
||||
| type | 按钮类型 | `primary` `normal` `warm` `danger` |
|
||||
| size | 按钮尺寸 | `lg` `sm` `xs`|
|
||||
:::
|
||||
19
docs/docs/zh-CN/components/panel.md
Normal file
19
docs/docs/zh-CN/components/panel.md
Normal file
@@ -0,0 +1,19 @@
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-panel><div style="padding: 30px;">面板</div></lay-panel>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { ref } from 'vue'
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
return {
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
Reference in New Issue
Block a user