From 093afd3be27ea5e9692839845b69bd56e2405518 Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期二, 13 八月 2024 23:49:45 +0800
Subject: [PATCH] 204.8.13

---
 miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.wxml |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.wxml b/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.wxml
index afa3a87..5bfa68f 100644
--- a/miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.wxml
+++ b/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}}"

--
Gitblit v1.9.3