register.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <view class="container">
  2. <view class="card">
  3. <view class="top">
  4. <van-image width="690rpx" height="180rpx" src="/images/ic_student_info.png"/>
  5. <view class='top-txt'>
  6. <view class="title">请如实填写信息</view>
  7. </view>
  8. <van-field required bind:change='onChange' data-field="formData.name" value="{{formData.name}}"
  9. label="姓名"
  10. placeholder="请输入姓名"
  11. input-align="right"/>
  12. <van-field required type="number" bind:change='onChange' data-field="formData.phone"
  13. value="{{ formData.phone }}"
  14. label="手机号"
  15. placeholder="请输入手机号"
  16. input-align="right"/>
  17. <van-field required clearable type="number" data-field="formData.verify" value="{{ formData.verify }}"
  18. placeholder="请输入验证码"
  19. bind:change="onChange">
  20. <edu-code slot="button" phone="{{formData.phone}}"/>
  21. </van-field>
  22. <van-field required bind:change='onChange' data-field="formData.idCard" value="{{ formData.idCard }}"
  23. label="身份证号"
  24. placeholder="请输入身份证号"
  25. input-align="right"/>
  26. <!-- <edu-picker bind:change="changeInfo" label="学员类别" pickData="{{studentTypeData}}" emitKey="formData.perType" index="{{formData.perType}}"/> -->
  27. <edu-cascader wx:if="{{formData.perType!=-1}}" bind:change="changeInfo" parentIds="{{parentIds}}" perType="{{formData.perType}}"/>
  28. </view>
  29. </view>
  30. <view class="btn">
  31. <edu-button title="提交" bind:click='submit'/>
  32. </view>
  33. </view>