设置了text-algin:right,input聚焦在真机还是左侧聚焦,输入内容后正常,什么问题?
<view class="register-item">
<view class="bankcard-id-title">银行卡号</view>
<input class="bankcard-id-inpt" type="number" value="{{bankCardId}}" bindblur="bankCardIdIpnt" placeholder="请输入银行卡号码" placeholder-class="placeholder-default-style"/>
</view>
.bankcard-id-inpt{
width: 320rpx;
height: 40rpx !important;
min-height: 40rpx !important;
font-size: 28rpx;
color: #333333;
text-align: right;
}
.placeholder-default-style{
color: #999999;
}
设置direction: rtl在点击input文本框初次聚焦时还是左侧聚焦,输入内容后正常