C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 regels
1.3 KiB

  1. <view class="Box">
  2. <view class="dateText_box">
  3. <!-- <view class="dateMinus" bindtap="front">{{'<'}}</view> -->
  4. <image src="https://formall.oss-accelerate.aliyuncs.com/cimg/xiangzuo.png" class="dateMinus" bindtap="front"></image>
  5. <view class="dateText">{{year+'年 '+month+'月 '}}</view>
  6. <image src="https://formall.oss-accelerate.aliyuncs.com/cimg/xiangyou.png" class="dateAdd" bindtap="behind"></image>
  7. </view>
  8. <view class="weekBox">
  9. <view class="weekItme" wx:for="{{week}}" wx:key="index">{{item}}</view>
  10. <view class="{{((item.value==dey&&monthFlgh==item.m&&item.y==yearFlgh)&&activiyFalg==index)?'today_a':((item.value==dey&&monthFlgh==item.m&&item.y==yearFlgh)&&activiyFalg!=index)?'today':((item.style == '0'&&activiyFalg==index)?'weekItme_a':(item.style=='0'&&activiyFalg!=index)?'weekItme':activiyFalg==index?'noThen_a':'noThen')}}" wx:for="{{allFlag?(switchFlag? thendata:dateLsit):dateLsit}}" wx:key="index" bindtap="handle" data-item="{{item}}" data-index="{{index}}" style="{{item.act==1?activityStyle:''}}">{{ (item.value==dey&&monthFlgh==item.m&&item.y==yearFlgh)?'':item.value }}</view>
  11. </view>
  12. <view class="concealBnt" bindtap="switchs" wx:if="{{allFlag&&yearFlgh==year&&month==monthFlgh}}">
  13. <image class="concealBnt" src="{{ switchFlag?xiala:xiangshang}}"></image>
  14. </view>
  15. </view>