tnblog
首页
视频
资源
登录

设置uni-easyinput中textarea类型的高度

12305人阅读 2022/2/27 16:04 总访问:733517 评论:0 收藏:0 手机
分类: 前端

在组件内容去修改uni-easyinput__content-textarea样式中的高度即可

默认是80修改成你想要的即可

  1. .uni-easyinput__content-textarea {
  2. position: relative;
  3. overflow: hidden;
  4. flex: 1;
  5. line-height: 1.5;
  6. font-size: 14px;
  7. padding-top: 6px;
  8. padding-bottom: 10px;
  9. height: 80px;
  10. /* #ifndef APP-NVUE */
  11. min-height: 80px;
  12. width: auto;
  13. /* #endif */
  14. }

欢迎加群讨论技术,1群:677373950(满了,可以加,但通过不了),2群:656732739。有需要软件开发,或者学习软件技术的朋友可以和我联系~(Q:815170684)

评价
真诚,善良,美好,温柔,皆是你
排名
9
文章
120
粉丝
5
评论
5
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2025TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:50010702506256
欢迎加群交流技术