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/button/type.d.ts | 109 ++++++++++++++++++++++++++++--------------------------
1 files changed, 56 insertions(+), 53 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/button/type.d.ts b/miniprogram_npm/tdesign-miniprogram/button/type.d.ts
index 884b01f..4fc4266 100644
--- a/miniprogram_npm/tdesign-miniprogram/button/type.d.ts
+++ b/miniprogram_npm/tdesign-miniprogram/button/type.d.ts
@@ -1,6 +1,9 @@
import { LoadingProps } from '../loading/index';
-import { SizeEnum } from '../common/common';
export interface TdButtonProps {
+ appParameter?: {
+ type: StringConstructor;
+ value?: string;
+ };
block?: {
type: BooleanConstructor;
value?: boolean;
@@ -10,64 +13,20 @@
value?: string;
};
customDataset?: {
- type: ObjectConstructor;
- value?: any;
+ type: null;
+ value?: null;
};
disabled?: {
type: BooleanConstructor;
value?: boolean;
};
- externalClasses?: {
- type: ArrayConstructor;
- value?: ['t-class', 't-class-icon', 't-class-loading'];
- };
ghost?: {
type: BooleanConstructor;
value?: boolean;
};
- icon?: {
- type: null;
- value?: string | object;
- };
- loading?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- loadingProps?: {
- type: ObjectConstructor;
- value?: LoadingProps;
- };
- shape?: {
- type: StringConstructor;
- value?: 'rectangle' | 'square' | 'round' | 'circle';
- };
- size?: {
- type: StringConstructor;
- value?: SizeEnum;
- };
- theme?: {
- type: StringConstructor;
- value?: 'default' | 'primary' | 'danger';
- };
- type?: {
- type: StringConstructor;
- value?: 'submit' | 'reset';
- };
- variant?: {
- type: StringConstructor;
- value?: 'base' | 'outline' | 'text';
- };
- openType?: {
- type: StringConstructor;
- value?: 'contact' | 'share' | 'getPhoneNumber' | 'getUserInfo' | 'launchApp' | 'openSetting' | 'feedback' | 'chooseAvatar';
- };
hoverClass?: {
type: StringConstructor;
value?: string;
- };
- hoverStopPropagation?: {
- type: BooleanConstructor;
- value?: boolean;
};
hoverStartTime?: {
type: NumberConstructor;
@@ -77,15 +36,35 @@
type: NumberConstructor;
value?: number;
};
+ hoverStopPropagation?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
+ icon?: {
+ type: null;
+ value?: string | object;
+ };
lang?: {
type: StringConstructor;
value?: 'en' | 'zh_CN' | 'zh_TW';
};
- sessionFrom?: {
- type: StringConstructor;
- value?: string;
+ loading?: {
+ type: BooleanConstructor;
+ value?: boolean;
};
- sendMessageTitle?: {
+ loadingProps?: {
+ type: ObjectConstructor;
+ value?: LoadingProps;
+ };
+ openType?: {
+ type: StringConstructor;
+ value?: 'contact' | 'share' | 'getPhoneNumber' | 'getUserInfo' | 'launchApp' | 'openSetting' | 'feedback' | 'chooseAvatar' | 'agreePrivacyAuthorization';
+ };
+ phoneNumberNoQuotaToast?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
+ sendMessageImg?: {
type: StringConstructor;
value?: string;
};
@@ -93,16 +72,40 @@
type: StringConstructor;
value?: string;
};
- sendMessageImg?: {
+ sendMessageTitle?: {
type: StringConstructor;
value?: string;
};
- appParameter?: {
+ sessionFrom?: {
type: StringConstructor;
value?: string;
+ };
+ shape?: {
+ type: StringConstructor;
+ value?: 'rectangle' | 'square' | 'round' | 'circle';
};
showMessageCard?: {
type: BooleanConstructor;
value?: boolean;
};
+ size?: {
+ type: StringConstructor;
+ value?: 'extra-small' | 'small' | 'medium' | 'large';
+ };
+ tId?: {
+ type: StringConstructor;
+ value?: string;
+ };
+ theme?: {
+ type: StringConstructor;
+ value?: 'default' | 'primary' | 'danger' | 'light';
+ };
+ type?: {
+ type: StringConstructor;
+ value?: 'submit' | 'reset';
+ };
+ variant?: {
+ type: StringConstructor;
+ value?: 'base' | 'outline' | 'dashed' | 'text';
+ };
}
--
Gitblit v1.9.3