From ba14d3536562fd46141e7dd40d995cd1aacedbcc Mon Sep 17 00:00:00 2001 From: DCloud_JSON Date: Tue, 18 Jun 2024 16:08:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=AB=AF=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=AD=A6=E5=91=8A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/uni-im-editor/uni-im-editor.vue | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/components/uni-im-editor/uni-im-editor.vue b/components/uni-im-editor/uni-im-editor.vue index b992692..bc3ba53 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 -- GitLab