From 02725eb3c7fefa44a4ff2df9807744def27420fa Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Fri, 26 Mar 2021 14:35:36 +0800 Subject: [PATCH] 修复小程序模式下文本域显示异常的问题 --- forms/textarea/cTextArea.scss | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/forms/textarea/cTextArea.scss b/forms/textarea/cTextArea.scss index 5ba80f8..f3ab430 100644 --- a/forms/textarea/cTextArea.scss +++ b/forms/textarea/cTextArea.scss @@ -6,17 +6,24 @@ @import "../../common/sassMixin"; .c-textarea { - .at-input__input { - .weui-input { + .at-input__container { + .weui-input, + input { display: none; } .textarea { + flex: 1; width: 100%; height: 94px; + padding-right: 18rpx; + font-size: 32px; textarea { resize: none; @include flexbox(flex, center center); } + .textarea-placeholder { + color: #ccc; + } } } .at-input__icon { -- Gitblit v1.9.1