6***@qq.com
6***@qq.com
  • 发布:2019-03-11 17:25
  • 更新:2019-03-11 17:25
  • 阅读:1975

input文字居中

分类:HBuilderX

我用下面这段代码在浏览器ipad模式下 768* 1024 上 input文字位置偏移下面了。设置了min-height 可是在附件3.png 里面还是53,我要怎么设置附件1.png 的文字居中。height 和 line-height一样也不行
<view style="width: 100upx; height:100upx;background: red;">
<input type="text"
style=" width: 90upx;
height: 30upx;
line-height: 30upx;
min-height: 30upx;
text-align: center;
background: #FFF0F5;"
placeholder="6666"/>
</view>

2019-03-11 17:25 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复