From 68f0f70bcb2519a11f0e36ae65abcfabbf21cfb6 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: Sat, 23 Jul 2022 10:46:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../component/src/component/panel/index.less | 2 + package/component/src/theme/variable.less | 2 + .../src/document/zh-CN/components/card.md | 4 +- .../src/document/zh-CN/components/color.md | 43 ++++++------------- .../src/document/zh-CN/components/panel.md | 41 ++++++++++++++++++ .../src/document/zh-CN/guide/getStarted.md | 6 +-- package/document-component/src/view/index.vue | 14 ++++++ 7 files changed, 77 insertions(+), 35 deletions(-) diff --git a/package/component/src/component/panel/index.less b/package/component/src/component/panel/index.less index 78dfb2f4..c42f24ef 100644 --- a/package/component/src/component/panel/index.less +++ b/package/component/src/component/panel/index.less @@ -6,9 +6,11 @@ .layui-panel { border-width: 1px; border-style: solid; + margin-bottom: 15px; border-radius: var(--panel-border-radius); border-color: var(--panel-border-color); background-color: #fff; + padding: 20px; } .layui-panel.is-hover-shadow:hover { diff --git a/package/component/src/theme/variable.less b/package/component/src/theme/variable.less index e6ce6c0f..d8013d8e 100644 --- a/package/component/src/theme/variable.less +++ b/package/component/src/theme/variable.less @@ -10,6 +10,8 @@ --global-checked-color: #5fb878; + --global-info-color: #31BDEC; + --global-border-radius: 2px; --global-neutral-color-1: #FAFAFA; diff --git a/package/document-component/src/document/zh-CN/components/card.md b/package/document-component/src/document/zh-CN/components/card.md index 484cb630..f69632b2 100644 --- a/package/document-component/src/document/zh-CN/components/card.md +++ b/package/document-component/src/document/zh-CN/components/card.md @@ -166,10 +166,10 @@ export default { 内容 - + 内容 - + 内容 diff --git a/package/document-component/src/document/zh-CN/components/color.md b/package/document-component/src/document/zh-CN/components/color.md index 308da6a9..23bbc329 100644 --- a/package/document-component/src/document/zh-CN/components/color.md +++ b/package/document-component/src/document/zh-CN/components/color.md @@ -35,7 +35,7 @@
  • #393D49

    -

    常用于导航

    +

    导航色

  • @@ -63,9 +63,15 @@ export default {