register.wxml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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="请输入姓名" />
  8. </view>
  9. <!--输入姓名 end-->
  10. <!--选择地区-->
  11. <view class="item_input_bg">
  12. <text class="item_input_title">地区:</text>
  13. <picker mode="region" bindchange="bindRegionChange" value="{{region}}" class="item_picker_bg">
  14. <view class="item_picker_content">
  15. <p> {{region[0]}} </p>
  16. <p> {{region[1]}} </p>
  17. <p> {{region[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 bindchange="bindSchoolPicker" value="{{schoolIndex}}" range="{{schoolArray}}" class="item_picker_bg">
  29. <view class="item_picker_content">
  30. {{schoolArray[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="请输入手机号" />
  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="请输入验证码" />
  62. <text class="phonenum_getvcode">获取验证码</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="请输入密码" />
  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;">确认</button>
  79. <text style="margin-top: 21rpx;" bindtap="exitPage">取消</text>
  80. </view>
  81. </view>
  82. </view>
  83. </view>