index.wxml 496 Bytes
Newer Older
程默 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<view class="van-calendar__header">
  <block wx:if="{{ showTitle }}">
    <view class="van-calendar__header-title"><slot name="title"></slot></view>
    <view class="van-calendar__header-title">{{ title }}</view>
  </block>

  <view wx:if="{{ showSubtitle }}" class="van-calendar__header-subtitle">
    {{ subtitle }}
  </view>

  <view class="van-calendar__weekdays">
    <view wx:for="{{ weekdays }}" wx:key="index" class="van-calendar__weekday">
      {{ item }}
    </view>
  </view>
</view>