register.wxml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!--pages/register/register.wxml-->
  2. <view class="container">
  3. <view class="page">
  4. <!--输入姓名-->
  5. <view class="item_input_bg">
  6. <text class="item_input_title">姓名:</text>
  7. <input class="item_input_content" maxlength="11" placeholder="请输入姓名" bindinput="bindUserNameInput" />
  8. </view>
  9. <!--输入姓名 end-->
  10. <!--选择地区-->
  11. <view class="item_input_bg">
  12. <text class="item_input_title">地区:</text>
  13. <picker mode="multiSelector" bindchange="bindRegionChange" bindcolumnchange="bindMultiPickerColumnChange" range="{{region}}" class="item_picker_bg">
  14. <view class="item_picker_content">
  15. <p> {{region[0][regionIndex[0]]}} </p>
  16. <p> {{region[1][regionIndex[1]]}} </p>
  17. <p> {{region[2][regionIndex[2]]}} </p>
  18. </view>
  19. </picker>
  20. <view class="item_picker_icon_layout">
  21. <image src="../../image/teacher/dropdown_icon.png" class="item_picker_icon"></image>
  22. </view>
  23. </view>
  24. <!--选择地区 end-->
  25. <!--选择学校-->
  26. <view class="item_input_bg">
  27. <text class="item_input_title">学校:</text>
  28. <picker mode="multiSelector" bindcolumnchange="bindSchoolPicker" range="{{schoolArray}}" class="item_picker_bg">
  29. <view class="item_picker_content">
  30. {{schoolArray[0][schoolIndex]}}
  31. </view>
  32. </picker>
  33. <view class="item_picker_icon_layout">
  34. <image src="../../image/teacher/dropdown_icon.png" class="item_picker_icon"></image>
  35. </view>
  36. </view>
  37. <!--选择学校end-->
  38. <!--选择班级-->
  39. <view class="item_input_bg">
  40. <text class="item_input_title">班级:</text>
  41. <picker bindchange="bindClssPicker" value="{{classIndex}}" range="{{classArray}}" class="item_picker_bg">
  42. <view class="item_picker_content">
  43. {{classArray[classIndex]}}
  44. </view>
  45. </picker>
  46. <view class="item_picker_icon_layout">
  47. <image src="../../image/teacher/dropdown_icon.png" class="item_picker_icon"></image>
  48. </view>
  49. </view>
  50. <!--选择班级end-->
  51. <view class="phonenum_layout">
  52. <!--输入手机号-->
  53. <view class="item_input_bg">
  54. <text class="item_input_title">手机号:</text>
  55. <input class="item_input_content" maxlength="11" placeholder="请输入手机号" bindinput="bindUserPhoneInput" />
  56. </view>
  57. <!--输入手机号 end-->
  58. <!--获取验证码-->
  59. <view class="item_input_bg">
  60. <text class="item_input_title">验证码:</text>
  61. <input class="item_input_content" maxlength="11" placeholder="请输入验证码" bindinput="bindVerificationCodeInput" />
  62. <text class="phonenum_getvcode" bindtap="getVerificationCode">{{getVCodeText}}</text>
  63. </view>
  64. <!--获取验证码 end-->
  65. <!--设置密码-->
  66. <view class="item_input_bg">
  67. <text class="item_input_title">设置密码:</text>
  68. <input class="item_input_content" maxlength="11" password="{{isShowPassWord}}" placeholder="请输入密码" bindinput="bindPwdInput" />
  69. <view class="phonenum_pwd_icon" bindtap="showPwdTab">
  70. <image src="../../image/login/account_show_pwd_icon.png" style="width:33rpx;height:22rpx;"></image>
  71. </view>
  72. </view>
  73. <!--设置密码 end-->
  74. </view>
  75. <!-- 按钮-->
  76. <view>
  77. <view class="login_btn_layout" style="margin-left: 0rpx;margin-top: 267rpx;">
  78. <button class="login_btn" style="width: 100%; margin-left: 0rpx;" bindtap="doRegister">确认</button>
  79. <text style="margin-top: 21rpx;" bindtap="exitPage">取消</text>
  80. </view>
  81. </view>
  82. </view>
  83. </view>