https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html
textarea 在iOS真机上有默认高度38pxtextarea has a default height of 38px on real iOS devices
textarea 在iOS真机上有默认高度38px框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | textarea | 微信iOS客户端 | 7.0.14 | 2.12.1 |
Framework type problem type API / component name terminal type wechat version basic library version applet bug textarea wechat IOS client 7.0.14 2.12.1 https://developers.weixin.qq.com/miniprogram/dev/component/textarea.html Code snippet < textarea placeholder = input "auto height =" true "> < / textarea >
回答:
你看下disable-default-padding boolean false 否 是否去掉 iOS 下的默认内边距 ,能不能达到你想要的的效果
组件都有一些默认样式
你可以自定义组件样式的 一般组件都是有默认样式的