phone.wxml 1.0 KB

1234567891011121314
  1. <view class="container">
  2. <view class="row b-b">
  3. <text class="tit">手机号</text>
  4. <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','account','$event',[] ] ] ] ] ]}}" placeholder="请填写手机号" placeholderClass="placeholder" type="text" value="{{account}}"></input>
  5. </view>
  6. <view hidden="{{!show}}">
  7. <view class="row b-b">
  8. <text class="tit">验证码</text>
  9. <input bindinput="__e" class="input" data-event-opts="{{[ [ 'input',[ [ '__set_model',[ '','captcha','$event',[] ] ] ] ] ]}}" placeholder="请填写验证码" placeholderClass="placeholder" type="text" value="{{captcha}}"></input>
  10. <view bindtap="__e" class="code" data-event-opts="{{[ [ 'tap',[ [ 'verification',['$event'] ] ] ] ]}}">{{countDown==0?'验证码':countDown}}</view>
  11. </view>
  12. <button bindtap="__e" class="{{['add-btn',loding?'bg-gray':'']}}" data-event-opts="{{[ [ 'tap',[ [ 'e0',['$event'] ] ] ] ]}}">提交</button>
  13. </view>
  14. </view>