riku
2025-04-27 f46786f11c5c08ead7501a82e5a71430ad69b782
miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.wxml
@@ -3,6 +3,7 @@
<scroll-view
  style="{{_._style([style, customStyle])}}"
  class="{{classPrefix}} class {{prefix}}-class"
  type="list"
  scroll-top="{{scrollTop}}"
  scroll-y
  enable-back-to-top="{{enableBackToTop}}"
@@ -10,6 +11,7 @@
  lower-threshold="{{lowerThreshold}}"
  upper-threshold="{{upperThreshold}}"
  scroll-into-view="{{scrollIntoView}}"
  show-scrollbar="{{showScrollbar}}"
  enhanced
  scroll-with-animation
  bounces="{{false}}"
@@ -17,14 +19,24 @@
  bind:touchmove="onTouchMove"
  bind:touchend="onTouchEnd"
  bind:scroll="onScroll"
  binddragstart="onDragStart"
  binddragging="onDragging"
  binddragend="onDragEnd"
  bindscrolltoupper="onScrollToTop"
  bindscrolltolower="onScrollToBottom"
  throttle="{{false}}"
>
  <slot name="header" />
  <view
    class="{{classPrefix}}__track {{classPrefix + '__track--' + (loosing ? 'loosing' : '')}}"
    style="{{barHeight > 0 ? 'transform: translate3d(0, ' + barHeight + 'px, 0);' : ''}}"
  >
    <view class="{{classPrefix}}__tips" style="height: {{computedLoadingBarHeight}}px" aria-live="polite">
    <view
      class="{{classPrefix}}__tips {{classPrefix + '__tips--' + (loosing ? 'loosing' : '')}}"
      style="height: {{tipsHeight}}px"
      aria-live="polite"
    >
      <t-loading
        wx:if="{{refreshStatus === 2}}"
        delay="{{loadingProps.delay || 0}}"