1234567891011121314151617181920212223242526272829303132333435 |
- <!--pages/new_teacher/new_teacher.wxml-->
- <view class='container'>
- <view class='wrapper'>
- <view class='list'>
- <view class='li'>
- <view class='li-label'>教师姓名(实名制)<text class='li-label-star'>*</text></view>
- <view class='li-content'>
- <input class='li-input' type='text' placeholder='请填写姓名' placeholder-class='input-placeholder' value='{{name}}' bindblur='inputCtl' data-type='name'></input>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>手机号(登录账号)<text class='li-label-star'>*</text></view>
- <view class='li-content'>
- <input class='li-input' type='number' placeholder='请填写绑定手机号' placeholder-class='input-placeholder' value='{{mobile}}' bindblur='inputCtl' bindinput='' data-type='mobile'></input>
- </view>
- </view>
- <view class='ul'>
- <view class='li-label'>选择学科(多选)<text class='li-label-star'>*</text></view>
- <view class='li-tips {{item.status=="active"?"li-tips-active":""}}' wx:for='{{subList}}' wx:key='index' bindtap='selectSubject' data-sidx='{{index}}'>{{item.text}}</view>
- </view>
- <view class='ul'>
- <view class='li-label'>选择模块(多选)<text class='li-label-star'>*</text></view>
- <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>
- </view>
- </view>
- <view class='li-class-grade'>
- <view bindtap='cancel'>取消</view>
- <view class='li-class-grade-btn' bindtap='sureCreateTeacher'>确定</view>
- </view>
- </view>
- </view>
|