From af930887f9972b7dd21c80599e697e44f5e5a579 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 13 十一月 2024 14:05:04 +0800
Subject: [PATCH] 移除视频相关组件
---
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