|
|
|
@ -119,6 +119,23 @@
|
|
|
|
|
} |
|
|
|
|
</wxs> |
|
|
|
|
<view class="cm-calendar"> |
|
|
|
|
<!-- 地图上方控件 --> |
|
|
|
|
<view class="map_top"> |
|
|
|
|
<view class="today" bindtap="todayFun"> |
|
|
|
|
回到今天 |
|
|
|
|
</view> |
|
|
|
|
<picker mode="region" value="{{timeValue}}" fields="month" mode="date" bindchange="DateChange"> |
|
|
|
|
<view class="dateTime"> |
|
|
|
|
<view class="dateLi years"> |
|
|
|
|
{{year}}年 |
|
|
|
|
</view> |
|
|
|
|
<view class="dateLi month"> |
|
|
|
|
{{month}}月 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</picker> |
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
<view class="cm-calendar-hd"> |
|
|
|
|
<block wx:for="{{weekDayArr}}" wx:key="weekDayKey"> |
|
|
|
|
<view class="item">{{item}}</view> |
|
|
|
@ -132,7 +149,8 @@
|
|
|
|
|
wx:for-index="index"> |
|
|
|
|
<view wx:if="{{index < dateUtil.getDipalyInfo(dateUtil.getChangedDate(displayTime).date).beginWeek }}" |
|
|
|
|
class="item"></view> |
|
|
|
|
<view bindtap="onDayTap" data-index="{{index}}" wx:else data-year="{{dateUtil.getChangedDate(displayTime).year}}" |
|
|
|
|
<view bindtap="onDayTap" data-index="{{index}}" wx:else |
|
|
|
|
data-year="{{dateUtil.getChangedDate(displayTime).year}}" |
|
|
|
|
data-month="{{dateUtil.getChangedDate(displayTime).my_month}}" |
|
|
|
|
data-day="{{index + 1 - dateUtil.getDipalyInfo(dateUtil.getChangedDate(displayTime).date).beginWeek}}" |
|
|
|
|
class="item {{dateUtil.isSelected(selectedDate, dateUtil.getChangedDate(displayTime).year, dateUtil.getChangedDate(displayTime).month, index + 1 - dateUtil.getDipalyInfo(dateUtil.getChangedDate(displayTime).date).beginWeek,auctionCount,listedCount)}} "> |
|
|
|
|