微信小程序input输入框,会出现这样:placeholder 文字与 input 的值重叠的问题,请教下各位大神这种问题如何解决,非常感激
可能是我给你的代码是去掉了很多逻辑后的代码,由于公司规定不能公开把代码发布出去,所以并没有给你提供源码,但这个问题确实存在,存在的机型很多:iPhone6 iPhone6plus iPhone8(其他机型没有试) ,微信版本6.6.6
<view class=“weui-cells weui-cells_after-title”>
<view class=“weui-cell weui-cell_input”>
<view class=“weui-cell__hd inputLabel”>
<view class=“weui-label”>银行卡号</view>
</view>
<view class=“weui-cell__bd”>
<input class=“weui-input” disabled=’{{bankNoInputDisabled}}’ bindinput=“bindBankNum” bindblur=“blurEvent” style=‘color:{{bankColor}}’ value=’{{bankVal}}’ placeholder=“必填” type=‘number’/>
</view>
</view>
<view class=“weui-cell weui-cell_input”>
<view class=“weui-cell__hd inputLabel”>
<view class=“weui-label”>姓名</view>
</view>
<view class=“weui-cell__bd”>
<input class=“weui-input” placeholder=“必填” bindinput=“bindName” style=‘color:{{nameColor}}’ />
</view>
</view>
<view class=“weui-cell weui-cell_input”>
<view class=“weui-cell__hd inputLabel”>
<view class=“weui-label”>身份证号码</view>
</view>
<view class=“weui-cell__bd”>
<input class=“weui-input” placeholder=“必填” bindinput=“bindIdno” style=‘color:{{idColor}}’ type=‘idcard’ />
</view>
</view>