textarea type=text和input type=number相邻
发布于 5 年前 作者 weimo 18721 次浏览 来自 问答

<view class=‘pro-cen’>

<textarea type=‘text’ bindblur=“bindTextAreaBlur” cursor-spacing=“10”  bindlinechange=“linechange”  bindfocus=“bindporfocus” bindinput=“texinput”  maxlength=“40”  show-confirm-bar="{{showbar}}"   placeholder=“遇到的问题” />

</view>

<view class=“section”>

<input  type=‘number’ placeholder=“手机号” placeholder-class=‘place’ cursor-spacing=“10” bindinput=“numberinput” maxlength=‘11’  />

</view>

 textarea type=text和input type= number相邻时,input二次获取焦点时,一直弹出文本框 ,而不是弹出数字框。

回到顶部