From 5036880fc037e5d112206b93a729f60be12bf8ab Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期四, 07 十一月 2024 17:03:13 +0800 Subject: [PATCH] 2024.11.07 bug修复 --- 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