From f82e57c06c27e905bdcb18643b08e68c7cf6561e 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: Mon, 18 Jul 2022 11:17:38 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B(component):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=20input-number=20=E5=86=85=E5=AE=B9=E4=B8=8D=E5=B1=85=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/inputNumber/index.less | 1 + package/component/src/component/upload/index.less | 5 +++++ .../src/document/zh-CN/components/colorPicker.md | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/component/src/component/inputNumber/index.less b/package/component/src/component/inputNumber/index.less index b88f2d2a..02de6064 100644 --- a/package/component/src/component/inputNumber/index.less +++ b/package/component/src/component/inputNumber/index.less @@ -68,6 +68,7 @@ input { text-align: center; + padding-left: 0px; } } diff --git a/package/component/src/component/upload/index.less b/package/component/src/component/upload/index.less index c99781db..d05b1cfd 100644 --- a/package/component/src/component/upload/index.less +++ b/package/component/src/component/upload/index.less @@ -7,10 +7,12 @@ filter: Alpha(opacity=1); cursor: pointer; } + .layui-upload-btn-box { position: relative; overflow: hidden; } + .layui-upload-drag, .layui-upload-form, .layui-upload-wrap { @@ -79,9 +81,11 @@ opacity: 0.01; filter: Alpha(opacity=1); } + .layui-upload-file-disabled { cursor: not-allowed !important; } + .layui-btn-container .layui-upload-choose { padding-left: 0; } @@ -96,6 +100,7 @@ display: block; max-width: 100%; } + .layui-upload-list-disabled { width: auto; height: auto; diff --git a/package/document-component/src/document/zh-CN/components/colorPicker.md b/package/document-component/src/document/zh-CN/components/colorPicker.md index 919c8913..76e4d662 100644 --- a/package/document-component/src/document/zh-CN/components/colorPicker.md +++ b/package/document-component/src/document/zh-CN/components/colorPicker.md @@ -4,7 +4,7 @@ ::: title 基础使用 ::: -::: demo +::: demo 使用 `lay-color-picker` 标签, 创建颜色选择器。