changePhone.wxml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <view class="container">
  2. <van-field
  3. type="number"
  4. custom-style="height:110rpx"
  5. placeholder-style="font-size: 29rpx;color: #8A8B8E;"
  6. value="{{ formData.phone }}"
  7. clearable
  8. center
  9. data-field="formData.phone"
  10. bind:change="onChange"
  11. placeholder="请输入手机号"
  12. border="{{ false }}"
  13. >
  14. <view slot='left-icon' class="label">手机号</view>
  15. </van-field>
  16. <edu-line style="width:100%;" color="rgba(125, 125, 125, 0.25)"/>
  17. <van-field
  18. type="number"
  19. custom-style="height:110rpx"
  20. placeholder-style="font-size: 29rpx;color: #8A8B8E;"
  21. value="{{ formData.checkNum }}"
  22. clearable
  23. center
  24. data-field="formData.checkNum"
  25. bind:change="onChange"
  26. placeholder="请输入验证码"
  27. border="{{ false }}"
  28. >
  29. <view slot='left-icon' class="label">验证码</view>
  30. <edu-code slot="button" phone="{{formData.phone}}"/>
  31. </van-field>
  32. <edu-line style="width:100%;" color="rgba(125, 125, 125, 0.25)"/>
  33. <view class="space"></view>
  34. <edu-button title="确认" bind:click="update" class="put-btn"></edu-button>
  35. </view>