Merge branch 'develop' of gitee.com:layui-vue/layui-vue into develop

This commit is contained in:
wang
2021-12-17 20:52:54 +08:00
70 changed files with 2785 additions and 113 deletions

View File

@@ -91,4 +91,7 @@ export default {
| layui-anim-rotate | 360 度旋转 | `layui-anim layui-anim-rotate` |
| layui-anim-rotate layui-anim-loop | 循环动画 | `layui-anim layui-anim-rotate layui-anim-loop` |
:::
::: comment
:::

View File

@@ -92,3 +92,6 @@ export default {
| radius | 圆形 | `true` `false` |
:::
::: comment
:::

View File

@@ -58,3 +58,6 @@ export default {
| default | 默认 | 非 `dot` 可用 |
:::
::: comment
:::

View File

@@ -57,3 +57,6 @@ export default {
| nm | 灰色样式 | -- |
:::
::: comment
:::

View File

@@ -100,3 +100,6 @@ export default {
| default | 默认插槽 | `--` |
:::
::: comment
:::

View File

@@ -305,3 +305,6 @@ export default {
| click | 单击事件 | `--` |
:::
::: comment
:::

View File

@@ -128,3 +128,6 @@ export default {
| body | 内容插槽 | -- |
:::
::: comment
:::

View File

@@ -139,3 +139,6 @@ export default {
| change | 切换回调 | id |
:::
::: comment
:::

View File

@@ -210,3 +210,6 @@ export default {
| change | 切换事件 | isChecked : 当前状态 |
:::
::: comment
:::

View File

@@ -206,3 +206,6 @@ export default {
| change | 折叠面板变化触发事件 | (`id`, `isShow`, activeValues)<br> <br> `id`: (`number` / `string`)对应当前操作面板的值 <br> <br> `isShow`: (`boolean`)`true` -> 展开, `false` -> 折叠 <br> <br> `activeValues`: (`Array`)当前状态为展开的面板值集合|
:::
::: comment
:::

View File

@@ -159,4 +159,7 @@ export default {
| layui-bg-blue | 蓝色 | class="layui-bg-blue" |
| layui-bg-black | 雅黑 | class="layui-bg-black" |
:::
::: comment
:::

View File

@@ -28,3 +28,6 @@ export default {
| showSearch | 启用搜索 | -- |
:::
::: comment
:::

View File

@@ -72,4 +72,7 @@ layer.confirm(content, options)
| content | 内容 | -- |
| options | 选配属性 | { time: 加载时长, btn: 按钮组 } |
:::
::: comment
:::

View File

@@ -75,3 +75,6 @@ export default {
| fluid | 流模式 | `true` `false` |
:::
::: comment
:::

View File

@@ -88,3 +88,6 @@ export default {
| content | 下拉内容 | -- |
:::
::: comment
:::

View File

@@ -54,3 +54,6 @@ export default {
| description | 描述信息 | -- |
:::
::: comment
:::

View File

@@ -68,3 +68,6 @@ export default {
| title | 标题 | -- |
:::
::: comment
:::

View File

@@ -74,3 +74,6 @@ export default {
| label | 标题名称 | -- |
:::
::: comment
:::

View File

@@ -164,3 +164,6 @@ export default {
| lg-offset | 偏移 - 大型屏幕 (桌面 ≥1200px) | 0 - 24 |
:::
::: comment
:::

View File

@@ -1127,3 +1127,6 @@ npm install @layui/icons-vue
| size | 尺寸 | -- |
:::
::: comment
:::

View File

@@ -110,3 +110,6 @@ export default {
| showSearch | 启用搜索 | -- |
:::
::: comment
:::

View File

@@ -129,3 +129,6 @@ export default {
| blur | 原生 blur 事件 | -- |
:::
::: comment
:::

View File

@@ -137,3 +137,6 @@
| change | 值更改触发事件 | (value: number) |
:::
::: comment
:::

View File

@@ -184,3 +184,6 @@ export default {
| lay-footer | 底部 | -- |
:::
::: comment
:::

View File

@@ -41,3 +41,6 @@ export default {
| theme | 主题 | `orange` `green` `cyan` `blue` `black` `gray` |
:::
::: comment
:::

View File

@@ -122,4 +122,7 @@ layer.load(load, options)
| load | 组件类型 | `1` `2` `3` |
| options | 选配属性 | { time: 加载时长 } |
:::
::: comment
:::

View File

@@ -99,3 +99,6 @@ export default {
| title | 菜单标题 | -- |
:::
::: comment
:::

View File

@@ -130,6 +130,39 @@ export default {
:::
::: title 尺寸拉伸
:::
::: demo
<template>
<lay-button @click="changeVisible8" type="primary">尺寸拉伸</lay-button>
<lay-modal title="拉伸尺寸" resize="true" v-model="visible8" move="true">
内容
</lay-modal>
</template>
<script>
import { ref, watch } from "vue";
import { useRoute, useRouter } from "vue-router";
export default {
setup() {
const visible8 = ref(false)
const changeVisible8 = function() {
visible8.value = !visible8.value
}
return {
visible8
};
},
};
</script>
:::
::: title 远程窗体
:::
@@ -302,3 +335,6 @@ export default {
| isOutAnim | 关闭动画 | `true` `false` |
:::
::: comment
:::

View File

@@ -90,4 +90,7 @@ layer.msg(content, options)
| content | 消息内容 | -- |
| options | 选配属性 | { time: 加载时长, icon: 图标 } |
:::
::: comment
:::

View File

@@ -232,3 +232,6 @@ export default {
| next | 下一页 | 下一页 |
:::
::: comment
:::

View File

@@ -31,3 +31,6 @@ export default {
| default | 默认插槽 | -- |
:::
::: comment
:::

View File

@@ -125,3 +125,6 @@ export default {
| showText | 展示描述 | -- |
:::
::: comment
:::

View File

@@ -117,3 +117,6 @@ export default {
| change | 切换事件 | current : 当前值 |
:::
::: comment
:::

View File

@@ -305,3 +305,6 @@ export default {
| select | 选中之后触发事件 | (value: number) |
:::
::: comment
:::

View File

@@ -100,3 +100,6 @@ export default {
| change | 切换事件 | value |
:::
::: comment
:::

View File

@@ -42,4 +42,7 @@ export default {
}
</script>
:::
::: comment
:::

View File

@@ -133,3 +133,6 @@ export default {
| change | 切换事件 | current : 当前值 |
:::
::: comment
:::

View File

@@ -243,3 +243,6 @@ export default {
| close | 关闭事件 | id |
:::
::: comment
:::

View File

@@ -321,4 +321,7 @@ export default {
| key | 数据字段 | -- |
| customSlot | 插槽名称 | -- |
| width | 宽度 | -- |
:::
::: comment
:::

View File

@@ -108,3 +108,6 @@ export default {
| blur | 原生 blur 事件 | -- |
:::
::: comment
:::

View File

@@ -83,3 +83,6 @@ export default {
| title | 标题 | -- |
:::
::: comment
:::

View File

@@ -120,6 +120,11 @@
| content | 显示内容 | -- |
| position | 显示位置 | `top`(默认值)、`bottom``left``right` |
| isDark | 是否为黑色主题 | `true`(默认值)、`false`(浅色) |
| disabled | 是否禁用 | `false`(默认值)、`true`(禁用) ||
| disabled | 是否禁用 | `false`(默认值)、`true`(禁用) ||
| visible | 控制是否显示 | `true`(默认值)、`false` ||
| isCanHide | 控制是否可以隐藏,可参考`lay-slider`组件 | `true`(默认值)、`false` ||
:::
::: comment
:::

View File

@@ -106,3 +106,6 @@ export default {
| item | 列表项 | { data } |
:::
::: comment
:::

View File

@@ -253,3 +253,6 @@ function handleClick(node) {
| node-click | 节点 click 事件 | -- |
:::
::: comment
:::