|
@@ -0,0 +1,30 @@
|
|
|
+<view class="container">
|
|
|
+ <view class="view-box">
|
|
|
+ <view class="title">请假日期</view>
|
|
|
+ <view class="value">{{item.date}}</view>
|
|
|
+ <view class="title">上课时间</view>
|
|
|
+ <view class="value">{{item.time}}</view>
|
|
|
+ <view class="title">课程名称</view>
|
|
|
+ <view class="value">{{item.title}}</view>
|
|
|
+ <view class="title">授课老师</view>
|
|
|
+ <view class="value">{{item.teacher}}</view>
|
|
|
+ <view class="title">请选择请假类型</view>
|
|
|
+ <view class="value">
|
|
|
+ <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
|
|
|
+ <view class="picker">
|
|
|
+ {{array[index]}}
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ <view class="textarea-box" wx:if="{{index == 2}}">
|
|
|
+ <textarea bindinput="getText" placeholder="请输入请假原因" maxlength="200"></textarea>
|
|
|
+ </view>
|
|
|
+ <view class="title">本课程请假余额</view>
|
|
|
+ <view class="value red-view">{{item.num}}次</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="submit-view">
|
|
|
+ 提交
|
|
|
+ </view>
|
|
|
+
|
|
|
+</view>
|