From b817d323f62da63d7da581f1e124c595e4072db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Wed, 17 Nov 2021 23:51:15 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BC=98=E5=8C=96]=20=E6=A0=85=E6=A0=BC?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/zh-CN/components/grid.md | 32 +++++++++++++-------------- src/css/layui.css | 21 ------------------ src/module/empty/index.less | 20 +++++++++++++++++ src/module/empty/index.vue | 35 ++++++++++++++++++------------ 4 files changed, 57 insertions(+), 51 deletions(-) create mode 100644 src/module/empty/index.less 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