|
1
|
<view class="calendar">
|
1
|
<view class="calendar">
|
|
2
|
<view class="calendar-title flex-lr">
|
2
|
<view class="calendar-title flex-lr">
|
|
3
|
- <view class="black-font font30r Semibold calendar-title-date">{{showYearMonth.showyear}}-{{showYearMonth.showmonth<10 ? '0'+showYearMonth.showmonth : showYearMonth.showmonth}}</view>
|
3
|
+ <view class="black-font font32r calendar-title-date">{{showYearMonth.showyear}}-{{showYearMonth.showmonth<10 ? '0'+showYearMonth.showmonth : showYearMonth.showmonth}}</view>
|
|
4
|
<view class="calendar-title-tab-list flex-rr">
|
4
|
<view class="calendar-title-tab-list flex-rr">
|
|
5
|
<block wx:if="{{showprev}}">
|
5
|
<block wx:if="{{showprev}}">
|
|
6
|
<view class="calendar-title-tab-cover calendar-title-prev-cover" bindtap="prevmonth">
|
6
|
<view class="calendar-title-tab-cover calendar-title-prev-cover" bindtap="prevmonth">
|
|
@@ -14,14 +14,14 @@ |
|
@@ -14,14 +14,14 @@ |
|
14
|
</view>
|
14
|
</view>
|
|
15
|
<view class="calendar-week flex-lr">
|
15
|
<view class="calendar-week flex-lr">
|
|
16
|
<block wx:for="{{weeklist}}" wx:key="{{index}}">
|
16
|
<block wx:for="{{weeklist}}" wx:key="{{index}}">
|
|
17
|
- <view class="week-single gray-font font30r Semibold flex-cc">{{item.weekfont}}</view>
|
17
|
+ <view class="week-single gray-font font28r flex-cc color-{{index%6}}">{{item.weekfont}}</view>
|
|
18
|
</block>
|
18
|
</block>
|
|
19
|
</view>
|
19
|
</view>
|
|
20
|
<view class="calendar-content">
|
20
|
<view class="calendar-content">
|
|
21
|
<block wx:for="{{daylist}}" wx:for-item="itemlist" wx:for-index="indexlist" wx:key="{{indexlist}}">
|
21
|
<block wx:for="{{daylist}}" wx:for-item="itemlist" wx:for-index="indexlist" wx:key="{{indexlist}}">
|
|
22
|
<view class="calendar-week-day flex-lr">
|
22
|
<view class="calendar-week-day flex-lr">
|
|
23
|
<block wx:for="{{itemlist.list}}" wx:key="{{index}}">
|
23
|
<block wx:for="{{itemlist.list}}" wx:key="{{index}}">
|
|
24
|
- <view class="{{item.overdate ? 'gray-font' : 'font-font'}} calendar-day flex-cc font30r Semibold {{item.istoday ? 'today' : ''}} {{item.isselected ? 'bg-yellow white-font' : ''}}" data-date="{{item.date}}" catchtap="{{item.overdate ? '' : 'selectdate'}}">{{item.mark ? item.mark : item.day}}</view>
|
24
|
+ <view class="{{item.overdate ? 'gray-font' : ('font-font color-'+(index%6))}} calendar-day flex-cc font30r {{item.istoday ? 'today' : ''}} {{item.isselected ? 'bg-yellow white-font' : ''}}" data-date="{{item.date}}" catchtap="{{item.overdate ? '' : 'selectdate'}}">{{item.mark ? item.mark : item.day}}</view>
|
|
25
|
</block>
|
25
|
</block>
|
|
26
|
</view>
|
26
|
</view>
|
|
27
|
</block>
|
27
|
</block>
|