index.wxml 453 B

123456789101112131415161718
  1. <view class="calendar-header-container">
  2. <block wx:if="{{ showTitle }}">
  3. <view class="calendar-header-container_title">
  4. {{ title }}
  5. </view>
  6. </block>
  7. <view wx:if="{{ showSubtitle }}" class="calendar-header-container_subtitle">
  8. {{ subTitle }}
  9. </view>
  10. <view class="calendar-header__weekdays">
  11. <view wx:for="{{ weekdays }}" wx:key="index" class="calendar-header__weekday">
  12. {{ item }}
  13. </view>
  14. </view>
  15. </view>