1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!--pages/set_time/set_time.wxml-->
- <view class='container'>
- <view class='wrapper'>
- <view class='li'>
- <!-- <view class="li-select">
- <view class="li-select-btn {{index==btnIndex?'li-select-btn-active':''}}" wx:for='{{btnList}}' wx:key='index' data-idx="{{index}}" bindtap="selectYear">{{item}}</view>
- </view>
- <view class='li-items {{item.setState==2?"li-active":""}}' wx:for='{{list}}' wx:key='index' wx:if='{{isSelectTime}}'>
- <view style='margin-left:25rpx;'>
- <view>{{item.type==1?'寒假':item.type==2?'五一劳动节':item.type==3?'暑假':'十一国庆节'}}</view>
- <view class='li-items-day' wx:if='{{item.setState==1}}'>{{item.limitMsg}}</view>
- <view class='li-items-red' wx:if='{{item.setState==2}}' data-istype='{{1}}' data-type='{{item.type}}' data-id='{{item.id}}' data-time='{{0}}' data-index='{{index}}' bindtap='{{item.isEffect==2?"selectDay":""}}'>
- <text>{{item.startDate}}-{{item.endDate}}</text>
- <image src='../../assets/red_jian_tou.png' wx:if='{{item.isEffect==2}}' class='li-items-arrows'></image>
- </view>
- </view>
- <image src='{{item.setState==2?"../../assets/kai.png":"../../assets/guan.png"}}' class='li-items-img' data-istype='{{item.setState}}' data-type='{{item.type}}' data-id='{{item.id}}' data-time='{{item.startDate}}' data-index='{{index}}' bindtap='selectDay'></image>
- </view> -->
- <view class='li-time'>
- <view class='li-time-item'>
- <view class='li-time-star'>
- <picker mode="date" fields='day' value="{{star}}" start="{{star}}" end="{{end}}" bindchange="selectStartDate">
- <text style='color:{{startDate?"#FF6465":""}}'>{{startDate?startDate:'开始时间'}}</text>
- </picker>
- </view>
- <view class='li-time-word'>至</view>
- <view class='li-time-star'>
- <picker mode="date" fields='day' value="{{star}}" start="{{star}}" end="{{end}}" bindchange="selectEndDate">
- <text style='color:{{endDate?"#FF6465":""}}'>{{endDate?endDate:'结束时间'}}</text>
- </picker>
- </view>
- </view>
- <view class='li-class-grade-btn' style='margin:63rpx auto' bindtap='sureVacationSetSave'>确定</view>
- </view>
- <!-- 删除孩子弹幕 -->
- <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{hiddenModel}}'></view>
- <view class='model' wx:if='{{hiddenModel}}'>
- <view class='rename'>
- <view class='rename-name' style='margin:92rpx 0;'>
- <view>您的设置将被清空</view>
- <view>确定返回吗?</view>
- </view>
- <view class='rename-footer'>
- <view bindtap='allShowModel'>取消</view>
- <view class='rename-footer-sure' bindtap='sureDelLibChild'>确定</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
|