leaveDetail.wxml 1.0 KB

123456789101112131415161718192021222324252627282930
  1. <view class="container">
  2. <view class="view-box">
  3. <view class="title">请假日期</view>
  4. <view class="value">{{item.attenceDate}}</view>
  5. <view class="title">上课时间</view>
  6. <view class="value">{{item.bt}}</view>
  7. <view class="title">课程名称</view>
  8. <view class="value">{{item.classesName}}</view>
  9. <view class="title">授课老师</view>
  10. <view class="value">{{item.teacherName}}</view>
  11. <view class="title">请选择请假类型</view>
  12. <view class="value">
  13. <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
  14. <view class="picker">
  15. {{array[index]}}
  16. </view>
  17. </picker>
  18. </view>
  19. <view class="textarea-box" wx:if="{{index == 2}}">
  20. <textarea bindinput="getText" placeholder="请输入请假原因" maxlength="200"></textarea>
  21. </view>
  22. <view class="title">本课程请假余额</view>
  23. <view class="value red-view">{{item.leaveCount}}次</view>
  24. </view>
  25. <view class="submit-view" bindtap="toSave">
  26. 提交
  27. </view>
  28. </view>