diff --git a/docs/docs/zh-CN/components/grid.md b/docs/docs/zh-CN/components/grid.md index 81730985..7f7aa498 100644 --- a/docs/docs/zh-CN/components/grid.md +++ b/docs/docs/zh-CN/components/grid.md @@ -5,12 +5,12 @@ - 1 - 2 - 3 - 4 - 5 - 6 + 1 + 2 + 3 + 4 + 5 + 6 @@ -48,8 +48,8 @@ export default { - 1 - 2 + 1 + 2 @@ -87,8 +87,8 @@ export default { - 1 - 2 + 1 + 2 @@ -113,12 +113,12 @@ export default { - 1 - 2 - 3 - 4 - 5 - 6 + 1 + 2 + 3 + 4 + 5 + 6 diff --git a/src/css/layui.css b/src/css/layui.css index 94a1d2d0..7d06b46f 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -5281,27 +5281,6 @@ body .layui-util-face .layui-layer-content { width: 28px; } -.layui-empty { - margin: 0 8px; - font-size: 14px; - line-height: 22px; - text-align: center; -} - -.layui-empty-image { - height: 100px; - margin-bottom: 8px; -} - -.layui-empty-image img { - height: 100%; - margin: auto; -} - -.layui-empty-description { - margin: 0; -} - .layui-anim { -webkit-animation-duration: 0.3s; -webkit-animation-fill-mode: both; diff --git a/src/module/empty/index.less b/src/module/empty/index.less new file mode 100644 index 00000000..16877ded --- /dev/null +++ b/src/module/empty/index.less @@ -0,0 +1,20 @@ +.layui-empty { + margin: 0 8px; + font-size: 14px; + line-height: 22px; + text-align: center; +} + +.layui-empty-image { + height: 100px; + margin-bottom: 8px; +} + +.layui-empty-image img { + height: 100%; + margin: auto; +} + +.layui-empty-description { + margin: 0; +} \ No newline at end of file diff --git a/src/module/empty/index.vue b/src/module/empty/index.vue index cbc5c4b5..67c4f3c0 100644 --- a/src/module/empty/index.vue +++ b/src/module/empty/index.vue @@ -1,3 +1,23 @@ + + + + @@ -7,17 +27,4 @@ {{ description }} - - - + \ No newline at end of file