index.wxml 658 B

12345678910111213141516171819202122232425
  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. bind:enter="onOpen"
  14. bind:close="onClose"
  15. bind:after-enter="onOpened"
  16. bind:after-leave="onClosed"
  17. >
  18. <include src="./calendar.wxml" />
  19. </van-popup>
  20. <include wx:else src="./calendar.wxml" />
  21. <van-toast id="van-toast" />