index.wxml 496 B

123456789101112131415161718192021
  1. <wxs src="../wxs/utils.wxs" module="utils" />
  2. <wxs src="./index.wxs" module="computed" />
  3. <import src="./popup.wxml" />
  4. <van-overlay
  5. wx:if="{{ overlay }}"
  6. show="{{ show }}"
  7. z-index="{{ zIndex }}"
  8. custom-style="{{ overlayStyle }}"
  9. duration="{{ duration }}"
  10. bind:click="onClickOverlay"
  11. lock-scroll="{{ lockScroll }}"
  12. root-portal="{{ rootPortal }}"
  13. />
  14. <root-portal wx:if="{{ rootPortal }}">
  15. <include src="./popup.wxml" />
  16. </root-portal>
  17. <include wx:else src="./popup.wxml" />