| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <!--components/calendarWeek/index.wxml-->
- <!-- 日历 -->
- <view class="date-choose shrink border-bottom10">
- <!-- <picker mode="date" bindchange="tiaotime"><view class="data-month">{{dateYear}}{{dateMonth}}</view></picker> -->
- <view class="direction_box">
- <view style="width:40rpx;height:30rpx;" bindtap="toLeft">
- <image src="https://point.xiuqinews.cn/file/file?fileName=left.png" mode="" class="left direction"/>
- </view>
- <view class="week_box">
- {{startTime}}—{{endTime}}
- <!-- {{date.days[0].id}} — {{date.days[6].id}} -->
- </view>
- <view style="width:40rpx;height:30rpx;" bindtap="toRight">
- <image src="https://point.xiuqinews.cn/file/file?fileName=right.png" mode="" class="right direction"/>
- </view>
- </view>
- <swiper class="date-choose-swiper" circular="true" indicator-dots="{{false}}" current="{{currentIndex}}" bindchange="dateSwiperChange">
- <block wx:for="{{dateList}}" wx:for-item="date" wx:key="date.id">
- <swiper-item class="swiper-item">
- <!-- <view class="weekday">
- <block wx:for-item="weekday" wx:for="{{dateListArray}}" wx:key="{{index}}">
- <text class="week">{{weekday}}</text>
- </block>
- </view> -->
-
- <view class="dateday">
- <block wx:for="{{date.days}}" wx:for-item="day" wx:key="{{day.id}}">
- <!-- <view>{{day.ids}}</view> -->
- <view class="day" id="{{day.id}}" bindtap="chooseDate" >
- <text class="{{dateCurrentStr==day.id?'active':''}}{{today==day.id?' reds':''}}" >{{day.day}}</text>
- </view>
- </block>
- </view>
- </swiper-item>
- </block>
- </swiper>
- </view>
- <!-- 日历 -->
|