海鲜小程序

index.wxml 1.0KB

1234567891011121314151617181920212223242526272829303132
  1. <wxs src="./index.wxs" module="computed" />
  2. <import src="./calendar.wxml" />
  3. <van-popup
  4. wx:if="{{ poppable }}"
  5. custom-class="van-calendar__popup--{{ position }}"
  6. close-icon-class="van-calendar__close-icon"
  7. show="{{ show }}"
  8. round="{{ round }}"
  9. position="{{ position }}"
  10. closeable="{{ showTitle || showSubtitle }}"
  11. close-on-click-overlay="{{ closeOnClickOverlay }}"
  12. bind:enter="onOpen"
  13. bind:close="onClose"
  14. bind:after-enter="onOpened"
  15. bind:after-leave="onClosed"
  16. >
  17. <template
  18. is="calendar"
  19. data="{{ title, subtitle, showTitle, showSubtitle, minDate, maxDate, type, color, showMark, formatter, rowHeight, currentDate, safeAreaInsetBottom, showConfirm, confirmDisabledText, confirmText, scrollIntoView, allowSameDay }}"
  20. />
  21. </van-popup>
  22. <template
  23. wx:else
  24. is="calendar"
  25. data="{{ title, subtitle, showTitle, showSubtitle, minDate, maxDate, type, color, showMark, formatter, rowHeight, currentDate, safeAreaInsetBottom, showConfirm, confirmDisabledText, confirmText, scrollIntoView, allowSameDay }}"
  26. />
  27. <van-toast id="van-toast" />