<view class="time_box">
	<view class="{{top?'fixed':''}}" style="position: fixed;width: 100%;">
		<view class="title">
			<view class="h3">选择{{ type }}日期</view>
			<icon class="iconfont icon-close11" catchtap="close"></icon>
		</view>
		<view class="week_box">
			<view class="ul week">
				<view class="li">日</view>
				<view class="li">一</view>
				<view class="li">二</view>
				<view class="li">三</view>
				<view class="li">四</view>
				<view class="li">五</view>
				<view class="li">六</view>
			</view>
		</view>
	</view>
	<view class="box">
		<view class="month_box" wx:for-index="index" wx:for-item="item" wx:for="{{date_obj_arr}}" wx:key="index">
			<view class="h4">{{ item.full }}</view>
			<view class="month">
				<view class="row">
					<view class="li" wx:for-index="day_index" wx:for-item="day_item" wx:key="{{day_index}}" wx:for="{{item.day}}"
					 wx:if="{{day_item.isOld == '-1'}}" style="background: #cccccc">
						{{ day_item.value }}
					</view>
					<view class="li {{( day_index == d_index && index == m_index)?'choose1':''}}" wx:key="{{day_index}}" wx:for-index="day_index"
					 wx:for-item="day_item" wx:for="{{item.day}}" wx:if="{{day_item.isOld == '0'}}" data-index="{{index}}"
					 data-dayindex="{{day_index}}" data-alldate="{{day_item.all_date}}" catchtap="chooseDate">
						<view class="span">{{ day_item.value }}</view>
						<view class="span">{{day_index == d_index && index == m_index ? type : ""}}</view>
					</view>
					<view class="li {{(day_index == d_index && index == m_index )?'choose':''}}" wx:key="{{day_index}}" wx:for-index="day_index"
					 wx:for-item="day_item" wx:for="{{item.day}}" wx:if="{{day_item.isOld == '1'}}" data-index="{{index}}"
					 data-dayindex="{{day_index}}" data-alldate="{{day_item.all_date}}" catchtap="chooseDate">
						<view class="span">{{ day_item.value }}</view>
						<view class="span">{{ day_index == d_index && index == m_index ? type : ""}}</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</view>
