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.

27 lines
744 B

8 months ago
  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. root-portal="{{ rootPortal }}"
  15. bind:enter="onOpen"
  16. bind:close="onClose"
  17. bind:after-enter="onOpened"
  18. bind:after-leave="onClosed"
  19. >
  20. <include src="./calendar.wxml" />
  21. </van-popup>
  22. <include wx:else src="./calendar.wxml" />
  23. <van-toast id="van-toast" />