index.wxml 711 B

1234567891011121314151617181920212223242526
  1. <wxs src="./index.wxs" module="computed" />
  2. <wxs src="../wxs/utils.wxs" module="utils" />
  3. <import src="./calendar.wxml" />
  4. <van-popup
  5. wx:if="{{ poppable }}"
  6. custom-class="van-calendar__popup--{{ position }}"
  7. close-icon-class="van-calendar__close-icon"
  8. show="{{ show }}"
  9. round="{{ round }}"
  10. position="{{ position }}"
  11. closeable="{{ showTitle || showSubtitle }}"
  12. close-on-click-overlay="{{ closeOnClickOverlay }}"
  13. safe-area-inset-bottom="{{ safeAreaInsetBottom }}"
  14. bind:enter="onOpen"
  15. bind:close="onClose"
  16. bind:after-enter="onOpened"
  17. bind:after-leave="onClosed"
  18. >
  19. <include src="./calendar.wxml" />
  20. </van-popup>
  21. <include wx:else src="./calendar.wxml" />
  22. <van-toast id="van-toast" />