index.wxml 746 B

12345678910111213141516171819
  1. <view class="wux-class {{ classes.wrap }}" style="{{ !enablePageScroll ? wrapStyle : '' }}">
  2. <view class="{{ classes.mask }}" wx:if="{{ disableScroll }}" catchtouchmove="noop"></view>
  3. <scroll-view
  4. class="{{ classes.scrollView }}"
  5. scroll-y="{{ !enablePageScroll && !disableScroll }}"
  6. upper-threshold="{{ upperThreshold }}"
  7. lower-threshold="{{ lowerThreshold }}"
  8. scroll-top="{{ innerScrollOffset }}"
  9. scroll-with-animation="{{ scrollWithAnimation }}"
  10. enable-back-to-top="{{ enableBackToTop }}"
  11. bindscroll="scrollHandler"
  12. bindscrolltoupper="onScrollToUpper"
  13. bindscrolltolower="onScrollToLower"
  14. >
  15. <view class="{{ classes.scrollArea }}" style="{{ virtual && virtual.style }}">
  16. <slot></slot>
  17. </view>
  18. </scroll-view>
  19. </view>