123456789101112131415161718192021222324252627282930313233343536373839 |
- <!--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-url="pages/select_times/select_times" data-paras='{{({btnIndex,id:item.id,type:item.type,time:item.startDate,istype:item.setState,index})}}' bindtap="{{item.setState==1?'navigateTo':'selectDay'}}"></image>
- </view>
- <!-- <view wx:if='{{!isSelectTime}}' 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>
- </view>
- </view>
|