1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <!--pages/register/index.wxml-->
- <view class="container">
- <view class="height20"></view>
- <!-- <form bindsubmit="formSubmit" class="registerForm">
- <view class="inputItem"><input type="text" name="phone" placeholder="请输入手机号" placeholder-style="color:rgba(255, 255, 255, 0.85);font-size:28rpx"/></view>
- <view style="font-size: 24rpx;color: rgba(255, 255, 255, .5);padding-left:50rpx;margin-top: 10rpx;">注册默认密码:123456</view>
- <view class="submitBtn width508">
- <van-button block round color="#2C6CEC" plain type="info" form-type="submit">注册</van-button>
- <view style="font-size: 24rpx;color: #FFFFFF;text-align: center;margin-top: 50rpx;" bindtap="toLogin">已有账号?去登录</view>
- </view>
- </form> -->
- <form bindsubmit="formSubmit">
- <view class="part">
- <view class="topItem topItem1">
- <view class="labelTitle">账号</view>
- <input name="roleName" value='{{roleName}}' hidden='true' />
- <van-field label="" name="account" placeholder="请输入账号" border="{{false}}" />
- </view>
- <view class="topItem topItem1">
- <view class="labelTitle">姓名</view>
- <van-field label="" name="name" placeholder="请输入司机姓名" border="{{false}}" />
- </view>
- <view class="topItem topItem1">
- <view class="labelTitle">手机号</view>
- <van-field label="" name="phone" placeholder="请输入司机手机号" border="{{false}}" />
- </view>
- <view class="topItem">
- <van-field required="{{roleNameList=='6d76cxil3s'}}" label="车牌号码" readonly border="{{false}}"></van-field>
- <car-num-input bind:setCarNum="licensePlate" isKeyboard="{{isKeyboard}}" inputOnFocusIndex="{{inputOnFocusIndex}}" inputPlates="{{inputPlates}}" isNewEnergy="{{isNewEnergy}}"></car-num-input>
- <input name="nickname" value='{{licensePlate}}' hidden='true' />
- </view>
- <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>
- </view>
-
- <view class="fixedBtn submitBtn">
-
- <van-button loading="{{isSubmitting}}" round block disabled="{{isSubmitting}}" loading-text="{{isSubmitting?'提交中...':''}}" type="info" form-type="submit">注册成为司机
- </van-button>
- </view>
- </form>
- </view>
|