register.wxml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <!--pages/register/register.wxml-->
  2. <view class='main'>
  3. <image class='main_image' src='/images/login.png'></image>
  4. <view class='context'>
  5. <view class="logo_view"><image class="login_logo1" src="/images/login_logo1.png"></image></view>
  6. <view class="logo_view"><image class="login_logo2" src="/images/login_logo2.png"></image></view>
  7. <view class='context_input'>
  8. <!-- <view class='input_view'>
  9. <image class='account_img' src='/images/account.png'></image><div class="line"></div>
  10. <input placeholder='请设置账号' bindinput='inputAccount' maxlength='20' focus='true' placeholder-class='placeholder'></input>
  11. </view> -->
  12. <view class='input_view'>
  13. <image class='phone_img' src='/images/phone.png'></image><div class="line"></div>
  14. <input placeholder='请输手机号' maxlength='11' bindinput='inputPhone' type='number' placeholder-class='placeholder'></input>
  15. </view>
  16. <view class='input_view'>
  17. <image class='phone_img' src='/images/vcode.png'></image><div class="line"></div>
  18. <input class="vcode_input" placeholder='请输入验证码' maxlength='6' bindinput='inputVcode' type='number' placeholder-class='placeholder'></input>
  19. <view class='{{vcodeFlag&&timeing?"vcode_button":"vcode_button_disable"}}' bindtap="{{vcodeFlag&&timeing?'sendVcode':''}}">{{vcode_button_text}}</view>
  20. </view>
  21. <!-- <view class='input_view'>
  22. <image class='email_img' src='/images/email1.png'></image><div class="line"></div>
  23. <input placeholder='请输入邮箱' maxlength='48' bindinput='inputEmail' type='text' placeholder-class='placeholder'></input>
  24. </view> -->
  25. <!--
  26. <view class='input_view'>
  27. <image class='man_img' src='/images/man.png'></image>
  28. <input placeholder='请选择性别' maxlength='16' bindinput='checkPassword' type='password' placeholder-class='placeholder'></input>
  29. </view>
  30. -->
  31. <!-- <view class='input_view'>
  32. <image class='carNum_img' src='/images/car.png'></image><div class="line"></div>
  33. <input placeholder='请输入车牌号' maxlength='8' bindinput='inputCarNum' type='text' placeholder-class='placeholder'></input>
  34. </view> -->
  35. <!-- 内容永远为空;防止iOS自动填充密码 -->
  36. <view style="width: 0.1rpx;height: 0.1rpx;">
  37. <input style="width: 1px;height: 1px;" disabled="true" value="" type='password'></input>
  38. </view>
  39. <view class='input_view' style="margin-top: 5rpx;">
  40. <image class='password_img' src='/images/password.png'></image><div class="line"></div>
  41. <input placeholder='请设置密码' maxlength='20' bindinput='inputPassword' type='password' placeholder-class='placeholder'></input>
  42. </view>
  43. <view class='input_view'>
  44. <image class='password_img' src='/images/password.png'></image><div class="line"></div>
  45. <input placeholder='请确认密码' maxlength='20' bindinput='inputRepassword' type='password' placeholder-class='placeholder'></input>
  46. </view>
  47. </view>
  48. <view class="errorMsg"><text wx:if="{{showMsg}}">{{errorMsg}}</text></view>
  49. <!--<button class='{{checkPass?"login_button":"login_button_disable"}}' bindtap="{{checkPass?'getUserProfile':''}}">-->
  50. <button class='login_button' bindtap="getUserProfile">
  51. 注册
  52. </button>
  53. <view style="width: 100%;text-align: center;padding:20rpx 0;display: flex;flex-direction: row;align-items:center;justify-content:center;">
  54. <van-checkbox value="{{ checked }}" icon-size="28rpx" bind:change="onCheckBoxChange" custom-class="vanCheckBox"></van-checkbox>
  55. <text style="display: inline;font-size:28rpx">已阅读并同意<text style="color:#00a8dc" bindtap="userAgreement">用户使用协议</text></text>
  56. </view>
  57. <view class='phone_call_class' bindtap="phoneCall">
  58.     <span>联系客服: {{servicetel}}</span>
  59.   </view>
  60. <!-- <view style="width: 100%;margin-top:50rpx">
  61. <ad unit-id="adunit-8eb13875bcf592b0" ad-intervals="30"></ad>
  62. </view> -->
  63. </view>
  64. <van-toast id="van-toast" />
  65. </view>