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/collapse-panel/collapse-panel.wxml | 40 +---------------------------------------
1 files changed, 1 insertions(+), 39 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/collapse-panel/collapse-panel.wxml b/miniprogram_npm/tdesign-miniprogram/collapse-panel/collapse-panel.wxml
index 1a0182c..bdcb890 100644
--- a/miniprogram_npm/tdesign-miniprogram/collapse-panel/collapse-panel.wxml
+++ b/miniprogram_npm/tdesign-miniprogram/collapse-panel/collapse-panel.wxml
@@ -1,39 +1 @@
-<wxs src="../common/utils.wxs" module="_" />
-
-<view
- style="{{_._style([style, customStyle])}}"
- class="class {{classPrefix}} {{classPrefix}}--{{placement}} {{prefix}}-class"
->
- <view
- class="{{classPrefix}}__title"
- aria-role="button"
- aria-expanded="{{expanded}}"
- aria-disabled="{{ultimateDisabled}}"
- bind:tap="onClick"
- >
- <t-cell
- title="{{header}}"
- note="{{headerRightContent}}"
- bordered
- left-icon="{{headerLeftIcon}}"
- right-icon="{{ ultimateExpandIcon ? (expanded ? 'chevron-up' : 'chevron-down') : '' }}"
- t-class="{{_.cls(classPrefix + '__header', [placement, ['expanded', expanded]])}} {{prefix}}-class-header"
- t-class-title="class-title {{ultimateDisabled ? 'class-title--disabled' : ''}}"
- t-class-note="class-note {{ultimateDisabled ? 'class-note--disabled' : ''}}"
- t-class-right-icon="class-right-icon {{classPrefix}}__arrow--{{placement}} {{ultimateDisabled ? 'class-right-icon--disabled' : ''}}"
- t-class-hover="class-header-hover"
- >
- <slot name="header-left-icon" slot="left-icon" />
- <slot name="header" slot="title" />
- <slot name="header-right-content" slot="note" />
- <slot name="expand-icon" slot="right-icon" />
- </t-cell>
- </view>
- <view class="{{classPrefix}}__wrapper" animation="{{animation}}" aria-hidden="{{expanded ? '' : true}}">
- <view class="{{classPrefix}}__content {{prefix}}-class-content">
- {{content}}
- <slot />
- <slot name="content" />
- </view>
- </view>
-</view>
+<wxs src="../common/utils.wxs" module="_"/><view style="{{_._style([style, customStyle])}}" class="class {{classPrefix}} {{classPrefix}}--{{placement}} {{prefix}}-class"><view class="{{classPrefix}}__title" aria-role="button" aria-expanded="{{expanded}}" aria-disabled="{{ultimateDisabled}}" bind:tap="onClick"><t-cell title="{{header}}" note="{{headerRightContent}}" bordered="{{false}}" left-icon="{{headerLeftIcon}}" right-icon="{{ ultimateExpandIcon ? (expanded ? 'chevron-up' : 'chevron-down') : '' }}" t-class="{{_.cls(classPrefix + '__header', [placement, ['expanded', expanded]])}} {{prefix}}-class-header" t-class-title="class-title {{ultimateDisabled ? 'class-title--disabled' : ''}}" t-class-note="class-note {{ultimateDisabled ? 'class-note--disabled' : ''}}" t-class-right-icon="class-right-icon {{classPrefix}}__arrow--{{placement}} {{ultimateDisabled ? 'class-right-icon--disabled' : ''}}" t-class-hover="class-header-hover"><slot name="header-left-icon" slot="left-icon"/><slot name="header" slot="title"/><slot name="header-right-content" slot="note"/><slot name="expand-icon" slot="right-icon"/></t-cell></view><view class="{{classPrefix}}__wrapper" animation="{{animation}}" aria-hidden="{{expanded ? '' : true}}"><view class="{{_.cls(classPrefix + '__content', [['disabled', ultimateDisabled], ['expanded', expanded], placement])}} {{prefix}}-class-content">{{content}}<slot/><slot name="content"/></view></view></view>
\ No newline at end of file
--
Gitblit v1.9.3