index.wxml 523 B

12345678910111213141516
  1. <view class="van-calendar__header">
  2. <block wx:if="{{ showTitle }}">
  3. <view class="van-calendar__header-title"><slot name="title"></slot></view>
  4. <view class="van-calendar__header-title">{{ title }}</view>
  5. </block>
  6. <view wx:if="{{ showSubtitle }}" class="van-calendar__header-subtitle" bind:tap="onClickSubtitle">
  7. {{ subtitle }}
  8. </view>
  9. <view class="van-calendar__weekdays">
  10. <view wx:for="{{ weekdays }}" wx:key="index" class="van-calendar__weekday">
  11. {{ item }}
  12. </view>
  13. </view>
  14. </view>