register.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--pages/register/register.wxml-->
  2. <view class='main'>
  3. <image class='main_image' src='/images/register.png'></image>
  4. <view class='context'>
  5. <view class='context_input'>
  6. <view class='input_view'>
  7. <image class='account_img' src='/images/account.png'></image>
  8. <input placeholder='请设置账号' bindinput='inputAccount' maxlength='20' focus='true' placeholder-class='placeholder'></input>
  9. </view>
  10. <view class='input_view'>
  11. <image class='phone_img' src='/images/phone.png'></image>
  12. <input placeholder='请输入电话' maxlength='11' bindinput='inputPhone' type='number' placeholder-class='placeholder'></input>
  13. </view>
  14. <view class='input_view'>
  15. <image class='email_img' src='/images/email.png'></image>
  16. <input placeholder='请输入邮箱' maxlength='48' bindinput='inputEmail' type='text' placeholder-class='placeholder'></input>
  17. </view>
  18. <!--
  19. <view class='input_view'>
  20. <image class='man_img' src='/images/man.png'></image>
  21. <input placeholder='请选择性别' maxlength='16' bindinput='checkPassword' type='password' placeholder-class='placeholder'></input>
  22. </view>
  23. -->
  24. <view class='input_view'>
  25. <image class='carNum_img' src='/images/car.png'></image>
  26. <input placeholder='请输入车牌号' maxlength='8' bindinput='inputCarNum' type='text' placeholder-class='placeholder'></input>
  27. </view>
  28. <view class='input_view'>
  29. <image class='password_img' src='/images/password.png'></image>
  30. <input placeholder='请设置密码' maxlength='16' bindinput='inputPassword' type='password' placeholder-class='placeholder'></input>
  31. </view>
  32. <view class='input_view'>
  33. <image class='password_img' src='/images/password.png'></image>
  34. <input placeholder='请确认密码' maxlength='16' bindinput='inputRepassword' type='password' placeholder-class='placeholder'></input>
  35. </view>
  36. </view>
  37. <view class="errorMsg"><text>{{errorMsg}}</text></view>
  38. <button class='{{checkPass?"login_button":"login_button_disable"}}' open-type="getUserInfo" bindgetuserinfo="{{checkPass?'bindGetUserInfo':''}}">
  39. 注册
  40. </button>
  41. </view>
  42. </view>