如果uni-easyinput支持直接通过属性设置高度,您可以在组件标签上直接指定该属性。例如,如果有一个height属性,您可以这样写: html <uni-easyinput height="50"></uni-easyinput> 但请注意,上面的height属性是假设存在的,实际使用中需要根据uni-easyinput的文档来确定正确的属性名。
在CSS中,后定义的样式会覆盖先定义的样式,因此,如果有其他样式文件或内联样式对input的高度进行了设置,可能会导致你设置的样式无效。</p> <p>二、组件属性设置</p> <p>其次,检查uni-easyinput组件的属性设置。uni-easyinput组件可能提供了一些默认的样式和属性,这些属性可能会影响input的高度。你可以查阅uni-easy...
11 changes: 11 additions & 0 deletions 11 uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue Original file line numberDiff line numberDiff line change @@ -19,6 +19,7 @@ @blur="_Blur" @focus="_Focus" @confirm="onConfirm" @keyboardheightchange="onkeyboardheightchange"...
dcloudio/uni-uiPublic NotificationsYou must be signed in to change notification settings Fork671 Star1.9k New issue Merged mehaotianmerged 1 commit intodcloudio:masterfromElianChen:master Jan 28, 2023 +11−0 Conversation0Commits1Checks0Files changed1 ...