planCalendar.wxml
3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<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>