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>