diff --git a/components/uni-im-editor/uni-im-editor.vue b/components/uni-im-editor/uni-im-editor.vue index b992692e92865bf2f393dbac4c968dce813c555a..bc3ba53a123600ea7eb11cee0d89261556679e05 100644 --- a/components/uni-im-editor/uni-im-editor.vue +++ b/components/uni-im-editor/uni-im-editor.vue @@ -543,11 +543,14 @@ .uni-im-editor-mp { width: 100%; height: auto; + max-height: 110px; } - /* #endif */ - .uni-im-editor { - min-height: 26px; - max-height: 110px; + /* #endif */ + + /* #ifndef MP */ + .uni-im-editor { + min-height: 26px; + max-height: 110px; overflow: auto; // 解决ios下不能编辑的问题 -webkit-user-modify: read-write-plaintext-only; @@ -556,8 +559,8 @@ -webkit-user-select:text; } /* #endif */ - &:focus { - outline: none; + &:focus { + outline: none; } & ::v-deep { img { @@ -574,4 +577,5 @@ } } } + /* #endif */ \ No newline at end of file