huanbangshouji.wxml 779 字节
<view class="bangshouji">
  <view class="huanbangleft">
    <input  type="number" placeholder='请输入手机号' placeholder-class='enterphone' maxlength='11' bindinput='inputCode' data-type='mobile' />
  </view>
  <view class="huanbangright" bindtap='getCode' wx:if='{{getting}}' >获取验证码</view>
  <view class="huanbangright" wx:else>{{code}}S</view>
</view>
<view class="bangshouji enteryan">
  <input  type="number" placeholder='请输入验证码' maxlength='6' placeholder-class='enterphone' value='{{verification_code}}' bindinput='inputCode' data-type='verification_code' />
</view>

<view class='sub_btn' wx:if='{{!params.verification_code}}'>
  验证后绑定新手机号
</view>

<view class='sub_btn active' wx:else bindtap='subBand'>
  确认绑定
</view>