index.wxml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!--pages/register/index.wxml-->
  2. <view class="container">
  3. <view class="height20"></view>
  4. <!-- <form bindsubmit="formSubmit" class="registerForm">
  5. <view class="inputItem"><input type="text" name="phone" placeholder="请输入手机号" placeholder-style="color:rgba(255, 255, 255, 0.85);font-size:28rpx"/></view>
  6. <view style="font-size: 24rpx;color: rgba(255, 255, 255, .5);padding-left:50rpx;margin-top: 10rpx;">注册默认密码:123456</view>
  7. <view class="submitBtn width508">
  8. <van-button block round color="#2C6CEC" plain type="info" form-type="submit">注册</van-button>
  9. <view style="font-size: 24rpx;color: #FFFFFF;text-align: center;margin-top: 50rpx;" bindtap="toLogin">已有账号?去登录</view>
  10. </view>
  11. </form> -->
  12. <form bindsubmit="formSubmit">
  13. <view class="part">
  14. <view class="topItem topItem1">
  15. <view class="labelTitle">账号</view>
  16. <input name="roleName" value='{{roleName}}' hidden='true' />
  17. <van-field label="" name="account" placeholder="请输入账号" border="{{false}}" />
  18. </view>
  19. <view class="topItem topItem1">
  20. <view class="labelTitle">姓名</view>
  21. <van-field label="" name="name" placeholder="请输入司机姓名" border="{{false}}" />
  22. </view>
  23. <view class="topItem topItem1">
  24. <view class="labelTitle">手机号</view>
  25. <van-field label="" name="phone" placeholder="请输入司机手机号" border="{{false}}" />
  26. </view>
  27. <view class="topItem">
  28. <van-field required="{{roleNameList=='6d76cxil3s'}}" label="车牌号码" readonly border="{{false}}"></van-field>
  29. <car-num-input bind:setCarNum="licensePlate" isKeyboard="{{isKeyboard}}" inputOnFocusIndex="{{inputOnFocusIndex}}" inputPlates="{{inputPlates}}" isNewEnergy="{{isNewEnergy}}"></car-num-input>
  30. <input name="nickname" value='{{licensePlate}}' hidden='true' />
  31. </view>
  32. <view style="font-size: 24rpx;color: #1989fa;padding-left:50rpx;margin-top: 10rpx;">注册默认密码:123456<text style="font-size: 24rpx;color: #ee0a24;text-align: left;margin-top: 50rpx;margin-left: 20rpx;" bindtap="toLogin">已有账号?去登录</text></view>
  33. </view>
  34. <view class="fixedBtn submitBtn">
  35. <van-button loading="{{isSubmitting}}" round block disabled="{{isSubmitting}}" loading-text="{{isSubmitting?'提交中...':''}}" type="info" form-type="submit">注册成为司机
  36. </van-button>
  37. </view>
  38. </form>
  39. </view>