myInfo.wxml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <!--component/myInfo/myInfo.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" value="{{userName}}" />
  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" value="{{regionIndex}}">
  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}}" value="{{[schoolIndex,0]}}" 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. <!--设置密码-->
  52. <view class="item_input_bg">
  53. <text class="item_input_title">设置密码:</text>
  54. <input class="item_input_content" maxlength="11" password="{{isShowPassWord}}" placeholder="请输入密码" bindinput="bindUserPwdInput" />
  55. <view class="phonenum_pwd_icon" bindtap="showPwdTab">
  56. <image src="../../image/login/account_show_pwd_icon.png" style="width:33rpx;height:22rpx;"></image>
  57. </view>
  58. </view>
  59. <!--设置密码 end-->
  60. <!-- 按钮-->
  61. <view>
  62. <view class="login_btn_layout" style="margin-left: 0rpx;margin-top: 267rpx;" bindtap="submitMyInfo">
  63. <button class="login_btn" style="width: 100%; margin-left: 0rpx;">确认</button>
  64. </view>
  65. </view>
  66. </view>
  67. </view>