<!--packageE/appointment/calender/calender.wxml-->
<view class="wrapper">
	<view class="calendar-info">
		<view class="pre-month" bindtap='preMonth'></view>
		<view class="p" style="color:#ffa300">{{currentDate}}</view>
		<view class="next-month" bindtap='nextMonth'></view>
	</view>

	<view class="box-flex day">  
		<view class="flex-item">  
			<view class="item-content">日</view>  
		</view>  
		<view class="flex-item">  
			<view class="item-content">一</view>  
		</view>  
		<view class="flex-item">  
			<view class="item-content">二</view>  
		</view>  
		<view class="flex-item">  
			<view class="item-content">三</view>  
		</view>  
		<view class="flex-item">  
			<view class="item-content">四</view>  
		</view>  
		<view class="flex-item">  
			<view class="item-content">五</view>  
		</view>  
		<view class="flex-item">  
			<view class="item-content">六</view>  
		</view>  
	</view>  

	<swiper style="height:610rpx;" circular bindchange="swiperChangeMonth" current="{{swiperCurrent}}" duration="500">
        <swiper-item wx:for="{{dataList}}" wx:for-item="list" wx:key="{{index}}">
			<view class="box-flex date">  
				<view class="flex-item" wx:for="{{list}}" wx:key="{{index}}">  
				<view bindtap="changeDate" data-disabled="{{item.disabled}}" data-index="{{item.work_date}}"  data-id="{{item.id}}" class="{{item.overdue}} item-content {{item.type}} {{item.work_date==current_date_id? 'bk-color-day' : ' '}} {{item.work_date==selected_data_id ? 'active' : ' '}}">{{item.date}}</view>  
				<view wx:if="{{item.disabled}}" class="disabled"></view>
				</view>  
			</view>  
		</swiper-item>
	</swiper>

</view>



