From 3282e95db0207ee133d1e98d9771dec9d83b0fc4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 02 四月 2026 16:24:38 +0800
Subject: [PATCH] 2026.4.2 新增专题管理功能

---
 miniprogram_npm/tdesign-miniprogram/pull-down-refresh/pull-down-refresh.wxml |   50 +-------------------------------------------------
 1 files changed, 1 insertions(+), 49 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..39dd5df 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
@@ -1,49 +1 @@
-<wxs src="../common/utils.wxs" module="_" />
-
-<scroll-view
-  style="{{_._style([style, customStyle])}}"
-  class="{{classPrefix}} class {{prefix}}-class"
-  scroll-top="{{scrollTop}}"
-  scroll-y
-  enable-back-to-top="{{enableBackToTop}}"
-  enable-passive="{{enablePassive}}"
-  lower-threshold="{{lowerThreshold}}"
-  upper-threshold="{{upperThreshold}}"
-  scroll-into-view="{{scrollIntoView}}"
-  enhanced
-  scroll-with-animation
-  bounces="{{false}}"
-  bind:touchstart="onTouchStart"
-  bind:touchmove="onTouchMove"
-  bind:touchend="onTouchEnd"
-  bind:scroll="onScroll"
-  bindscrolltoupper="onScrollToTop"
-  bindscrolltolower="onScrollToBottom"
->
-  <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">
-      <t-loading
-        wx:if="{{refreshStatus === 2}}"
-        delay="{{loadingProps.delay || 0}}"
-        duration="{{loadingProps.duration || 800}}"
-        indicator="{{loadingProps.indicator || true}}"
-        layout="{{loadingProps.layout || 'horizontal'}}"
-        loading="{{loadingProps.loading || true}}"
-        pause="{{loadingProps.pause || false}}"
-        progress="{{loadingProps.progress || 0}}"
-        reverse="{{loadingProps.reverse || false}}"
-        size="{{loadingProps.size || '50rpx'}}"
-        text="{{loadingProps.text || loadingTexts[refreshStatus]}}"
-        theme="{{loadingProps.theme || 'circular'}}"
-        t-class-indicator="{{prefix}}-class-indicator"
-      />
-      <view wx:elif="{{refreshStatus >= 0}}" class="{{classPrefix}}__text {{prefix}}-class-text"
-        >{{loadingTexts[refreshStatus]}}</view
-      >
-    </view>
-    <slot />
-  </view>
-</scroll-view>
+<wxs src="../common/utils.wxs" module="_"/><scroll-view style="{{_._style([style, customStyle, 'max-height: calc(100vh - ' + distanceTop + 'px)'])}}" class="{{classPrefix}} class {{prefix}}-class" type="list" scroll-top="{{scrollTop}}" scroll-y enable-back-to-top="{{enableBackToTop}}" enable-passive="{{enablePassive}}" lower-threshold="{{lowerThreshold}}" upper-threshold="{{upperThreshold}}" scroll-into-view="{{scrollIntoView}}" show-scrollbar="{{showScrollbar}}" enhanced scroll-with-animation bounces="{{false}}" bind:touchstart="onTouchStart" 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 {{classPrefix + '__tips--' + (loosing ? 'loosing' : '')}}" style="height: {{tipsHeight}}px" aria-live="polite"><t-loading wx:if="{{refreshStatus === 2}}" delay="{{loadingProps.delay || 0}}" duration="{{loadingProps.duration || 800}}" indicator="{{loadingProps.indicator || true}}" layout="{{loadingProps.layout || 'horizontal'}}" loading="{{loadingProps.loading || true}}" pause="{{loadingProps.pause || false}}" progress="{{loadingProps.progress || 0}}" reverse="{{loadingProps.reverse || false}}" size="{{loadingProps.size || '50rpx'}}" text="{{loadingProps.text || loadingTexts[refreshStatus]}}" theme="{{loadingProps.theme || 'circular'}}" t-class="{{prefix}}-class-loading" t-class-indicator="{{prefix}}-class-indicator"/><view wx:elif="{{refreshStatus >= 0}}" class="{{classPrefix}}__text {{prefix}}-class-text">{{loadingTexts[refreshStatus]}}</view></view><slot/></view></scroll-view>
\ No newline at end of file

--
Gitblit v1.9.3