planCalendar.wxml 3.7 KB
<view wx:if=''>
  <view class='plan_calendar' wx:for='{{[1,2]}}'>
    <view class='title_box'>
      <view>2018年11月</view>
      <view class='title_info'>
        <view>姿势异常/团课计划/科雯瑜伽/...</view>
        <view class='time'>8:00-9:00</view>
      </view>
    </view>
    <view class='calendar_box'>
      <view class='clendar_item'>
        <view class="flex box box-tb box-align-center">
          <view class="calendar pink-color box box-tb">
            <!-- <view class="top-handle fs28 box box-lr box-align-center box-pack-center"> -->
            <!-- <view class="prev box box-rl" bindtap="handleCalendar" data-handle="prev">
            <view class="prev-handle box box-lr box-align-center box-pack-center">《</view>
          </view> -->
            <!-- <view bindtap="chooseYearAndMonth" class="date-area box box-lr box-align-center box-pack-center">签到日历 {{curYear || "--"}} 年 {{curMonth || "--"}} 月</view> -->
            <!-- <view class="next box box-lr" bindtap="handleCalendar" data-handle="next">
            <view class="next-handle box box-lr box-align-center box-pack-center">》</view>
          </view> -->
            <!-- </view> -->
            <view class="weeks box box-lr box-pack-center box-align-center">
              <view class="flex week fs28" wx:for="{{weeksCh}}" wx:key="{{index}}" data-idx="{{index}}">{{item}}</view>
            </view>
            <view class="days box box-lr box-wrap">
              <view wx:if="{{hasEmptyGrid}}" class="grid white-color box box-align-center box-pack-center" wx:for="{{empytGrids}}" wx:key="{{index}}" data-idx="{{index}}">
              </view>
              <view class="grid white-color box box-align-center box-pack-center " wx:for="{{days}}" wx:key="{{index}}" data-idx="{{index}}" bindtap="tapDayItem">
                <view class="day {{0==index?'pink-bg2':''}}{{item.choosed ? 'border-radius pink-bg' : ''}} box box-align-center box-pack-center">{{item.day}}</view>
              </view>
            </view>
          </view>
        </view>
        <view class='plan_box'>
          <view>计划名称</view>
          <view class='plab_btn'>课程管理(4)</view>
          <view>上课教练</view>
        </view>
      </view>
    </view>
  </view>
</view>
<view>
  <view class='plan_calendar' wx:for='{{[1,2]}}'>
    <view class='title_box'>
      <view>2018年11月</view>
      <view class='title_info'>
        <view>姿势异常/团课计划/科雯瑜伽/...</view>
        <view class='time'>8:00-9:00</view>
      </view>
    </view>
    <view class='calendar_box'>
      <view class='clendar_item'>
        <view class="flex box box-tb box-align-center">
          <view class="calendar pink-color box box-tb">
            <view class="weeks box box-lr box-pack-center box-align-center">
              <view class="flex week fs28" wx:for="{{weeksCh}}" wx:key="{{index}}" data-idx="{{index}}">{{item}}</view>
            </view>
            <view class="days box box-lr box-wrap">
              <view wx:if="{{hasEmptyGrid}}" class="grid white-color box box-align-center box-pack-center" wx:for="{{empytGrids}}" wx:key="{{index}}" data-idx="{{index}}">
              </view>
              <view class="grid white-color box box-align-center box-pack-center " wx:for="{{days}}" wx:key="{{index}}" data-idx="{{index}}" bindtap="tapDayItem">
                <view class="day {{0==index?'pink-bg2':''}}{{item.choosed ? 'border-radius pink-bg' : ''}} box box-align-center box-pack-center">{{item.day}}</view>
              </view>
            </view>
          </view>
        </view>
        <view class='plan_box'>
          <view>计划名称</view>
          <view class='plan_btn plan_btn2'>约课</view>
          <view>上课教练</view>
        </view>
      </view>
    </view>
  </view>
</view>