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/toast/toast.wxml | 39 +--------------------------------------
1 files changed, 1 insertions(+), 38 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/toast/toast.wxml b/miniprogram_npm/tdesign-miniprogram/toast/toast.wxml
index 44576ff..c1ec2cd 100644
--- a/miniprogram_npm/tdesign-miniprogram/toast/toast.wxml
+++ b/miniprogram_npm/tdesign-miniprogram/toast/toast.wxml
@@ -1,38 +1 @@
-<import src="../common/template/icon.wxml" />
-<wxs src="../common/utils.wxs" module="_" />
-
-<view
- wx:if="{{realVisible}}"
- class="{{_.cls(classPrefix, [direction, theme, ['with-text', message]])}} class {{prefix}}-class {{transitionClass}}"
- style="{{_._style([ 'top:' + (placement === 'top' ? '25%' : placement === 'bottom' ? '75%': '45%'), style, customStyle])}}"
- bind:transitionend="onTransitionEnd"
- catch:touchstart="loop"
->
- <view class="{{classPrefix}}__content {{classPrefix}}__content--{{direction}}">
- <t-loading
- wx:if="{{isLoading}}"
- theme="circular"
- size="{{direction === 'row' ? '48rpx' : '64rpx'}}"
- loading
- inherit-color
- layout="vertical"
- />
- <template
- wx:elif="{{_icon}}"
- is="icon"
- data="{{ ariaHidden: true, tClass: classPrefix + '__icon ' + classPrefix + '__icon--' + direction, ..._icon }}"
- />
- <slot name="icon" />
- <view aria-role="alert" class="{{classPrefix}}__text {{classPrefix}}__text--{{direction}}">{{message}}</view>
- <slot name="message" />
- </view>
-</view>
-<t-overlay
- style="{{ overlayProps && overlayProps.style || ''}}"
- visible="{{realVisible && (showOverlay || preventScrollThrough)}}"
- z-index="{{overlayProps && overlayProps.zIndex || 11000}}"
- duration="{{overlayProps && overlayProps.duration || 300}}"
- usingCustomNavbar="{{overlayProps && overlayProps.usingCustomNavbar || usingCustomNavbar}}"
- backgroundColor="{{preventScrollThrough ? 'transparent' : overlayProps && overlayProps.backgroundColor || ''}}"
- preventScrollThrough="{{preventScrollThrough || overlayProps && overlayProps.preventScrollThrough}}"
-/>
+<import src="../common/template/icon.wxml"/><wxs src="../common/utils.wxs" module="_"/><view wx:if="{{realVisible}}" class="{{_.cls(classPrefix, [direction, theme, ['with-text', message]])}} class {{prefix}}-class {{transitionClass}}" style="{{_._style([ 'top:' + (placement === 'top' ? '25%' : placement === 'bottom' ? '75%': '45%'), style, customStyle])}}" bind:transitionend="onTransitionEnd" catch:touchstart="loop"><view class="{{classPrefix}}__content {{classPrefix}}__content--{{direction}}"><t-loading wx:if="{{isLoading}}" theme="circular" size="{{direction === 'row' ? '48rpx' : '64rpx'}}" loading inherit-color layout="vertical"/><template wx:elif="{{_icon}}" is="icon" data="{{ ariaHidden: true, tClass: classPrefix + '__icon ' + classPrefix + '__icon--' + direction, ..._icon }}"/><slot name="icon"/><view aria-role="alert" class="{{classPrefix}}__text {{classPrefix}}__text--{{direction}}">{{message}}</view><slot name="message"/></view></view><t-overlay style="{{ overlayProps && overlayProps.style || ''}}" visible="{{realVisible && (showOverlay || preventScrollThrough)}}" z-index="{{overlayProps && overlayProps.zIndex || 11000}}" duration="{{overlayProps && overlayProps.duration || 300}}" usingCustomNavbar="{{overlayProps && overlayProps.usingCustomNavbar || usingCustomNavbar}}" backgroundColor="{{!showOverlay && preventScrollThrough ? 'transparent' : overlayProps && overlayProps.backgroundColor || ''}}" preventScrollThrough="{{preventScrollThrough || overlayProps && overlayProps.preventScrollThrough}}"/>
\ No newline at end of file
--
Gitblit v1.9.3