changePhone.swan 596 B

123456789101112131415
  1. <view class="content">
  2. <view class="item">
  3. <input bindinput="inputAction" placeholder="请输入新的手机号" data-type="phone" value="{{newPhone}}"/>
  4. </view>
  5. <view class="line">
  6. <view></view>
  7. </view>
  8. <view class="item">
  9. <input bindinput="inputAction" placeholder="请输入验证码" data-type="code" value="{{code}}"/>
  10. <view s-if="{{!countDown}}" bindtap="getCode">获取验证码</view>
  11. <view s-if="{{countDown}}">还剩{{time}}秒</view>
  12. </view>
  13. </view>
  14. <view class="btn {{canSave?'able':'disable'}}" bindtap="{{canSave?'btnAction':''}}">确定</view>