new_teacher.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!--pages/new_teacher/new_teacher.wxml-->
  2. <view class='container'>
  3. <view class='wrapper'>
  4. <view class='list'>
  5. <view class='li'>
  6. <view class='li-label'>教师姓名(实名制)<text class='li-label-star'>*</text></view>
  7. <view class='li-content'>
  8. <input class='li-input' type='text' placeholder='请填写姓名' placeholder-class='input-placeholder' value='{{name}}' bindblur='inputCtl' data-type='name'></input>
  9. </view>
  10. </view>
  11. <view class='li'>
  12. <view class='li-label'>手机号(登录账号)<text class='li-label-star'>*</text></view>
  13. <view class='li-content'>
  14. <input class='li-input' type='number' placeholder='请填写绑定手机号' placeholder-class='input-placeholder' value='{{mobile}}' bindblur='inputCtl' bindinput='' data-type='mobile'></input>
  15. </view>
  16. </view>
  17. <view class='ul'>
  18. <view class='li-label'>选择学科(多选)<text class='li-label-star'>*</text></view>
  19. <view class='li-tips {{item.status=="active"?"li-tips-active":""}}' wx:for='{{subList}}' wx:key='index' bindtap='selectSubject' data-sidx='{{index}}'>{{item.text}}</view>
  20. </view>
  21. <view class='ul'>
  22. <view class='li-label'>选择模块(多选)<text class='li-label-star'>*</text></view>
  23. <view class='li-tips {{item.status=="active"?"li-tips-active":""}}' wx:for='{{idList}}' wx:key='index' style='padding:15rpx 20rpx;' bindtap='selectTeacher' data-sidx='{{index}}'>{{item.text}}</view>
  24. </view>
  25. </view>
  26. <view class='li-class-grade'>
  27. <view bindtap='cancel'>取消</view>
  28. <view class='li-class-grade-btn' bindtap='sureCreateTeacher'>确定</view>
  29. </view>
  30. </view>
  31. </view>