From 6cecf25005d0cec0b036b7768d8ac6c88e139744 Mon Sep 17 00:00:00 2001 From: zhoulingpo Date: Fri, 28 Apr 2023 09:41:59 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E9=99=90=E5=88=B6=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/common.scss | 20 ++++++++++++++++++++ src/views/Report/ReportManager.vue | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/assets/css/common.scss b/src/assets/css/common.scss index f6b2f30..ab3c60a 100644 --- a/src/assets/css/common.scss +++ b/src/assets/css/common.scss @@ -62,4 +62,24 @@ border-radius: 10px; background-color: red; } +.showLimit { + + //.el-input__count { + // position: absolute; + // bottom: 5px; /* 调整位置 */ + // right: 5px; /* 调整位置 */ + //} + .el-input__inner{ + padding-right: 60px; /* 留出word-limit显示的空间 */ + } + .el-textarea__inner{ + padding-bottom: 30px; + } + .el-textarea .el-input__count{ + width: 92%; + text-align: right; + bottom: 0.5px; + right: 28px; + } +} diff --git a/src/views/Report/ReportManager.vue b/src/views/Report/ReportManager.vue index 75b1e85..1fd0218 100644 --- a/src/views/Report/ReportManager.vue +++ b/src/views/Report/ReportManager.vue @@ -181,7 +181,7 @@
- + @@ -205,7 +205,7 @@ + show-word-limit>