File tree Expand file tree Collapse file tree 5 files changed +10
-20
lines changed
action-sheet/__test__/__snapshots__ Expand file tree Collapse file tree 5 files changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ exports[`ActionSheet ActionSheet list demo works fine 1`] = `
51
51
<list >
52
52
<t-action-sheet
53
53
id = " t-action-sheet"
54
- showOverlay = " {{false}}"
55
54
usingCustomNavbar = " {{true}}"
56
55
bind:selected="handleSelected"
57
56
/>
Original file line number Diff line number Diff line change @@ -10,17 +10,18 @@ style | Object | - | CSS(Cascading Style Sheets) | N
10
10
custom-style | Object | - | CSS(Cascading Style Sheets),used to set style on virtual component | N
11
11
delay | Number | 0 | \- | N
12
12
duration | Number | 800 | \- | N
13
- fullscreen | Boolean | true | \- | N
13
+ fullscreen | Boolean | false | ` 1.8.5 ` | N
14
14
indicator | Boolean / Slot | true | [ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts ) | N
15
15
inherit-color | Boolean | false | \- | N
16
16
layout | String | horizontal | options: horizontal/vertical | N
17
17
loading | Boolean | true | \- | N
18
18
pause | Boolean | false | \- | N
19
19
progress | Number | - | \- | N
20
20
reverse | Boolean | - | \- | N
21
- size | String | '40rpx ' | \- | N
21
+ size | String | '20px ' | \- | N
22
22
text | String / Slot | - | [ see more ts definition] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts ) | N
23
23
theme | String | circular | options: circular/spinner/dots | N
24
+
24
25
### Loading External Classes
25
26
26
27
className | Description
Original file line number Diff line number Diff line change @@ -66,17 +66,18 @@ style | Object | - | 样式 | N
66
66
custom-style | Object | - | 样式,一般用于开启虚拟化组件节点场景 | N
67
67
delay | Number | 0 | 延迟显示加载效果的时间,用于防止请求速度过快引起的加载闪烁,单位:毫秒 | N
68
68
duration | Number | 800 | 加载动画执行完成一次的时间,单位:毫秒 | N
69
- fullscreen | Boolean | false | 是否显示为全屏加载 | N
69
+ fullscreen | Boolean | false | ` 1.8.5 ` 。 是否显示为全屏加载 | N
70
70
indicator | Boolean / Slot | true | 加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符。[ 通用类型定义] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts ) | N
71
71
inherit-color | Boolean | false | 是否继承父元素颜色 | N
72
72
layout | String | horizontal | 对齐方式。可选项:horizontal/vertical | N
73
73
loading | Boolean | true | 是否处于加载状态 | N
74
74
pause | Boolean | false | 是否暂停动画 | N
75
75
progress | Number | - | 加载进度 | N
76
76
reverse | Boolean | - | 加载动画是否反向 | N
77
- size | String | '40rpx ' | 尺寸,示例:40rpx/ 20px | N
77
+ size | String | '20px ' | 尺寸,示例:20px | N
78
78
text | String / Slot | - | 加载提示文案。[ 通用类型定义] ( https://github.com/Tencent/tdesign-miniprogram/blob/develop/src/common/common.ts ) | N
79
79
theme | String | circular | 加载组件类型。可选项:circular/spinner/dots,skyline 模式下暂不支持枚举值 circular | N
80
+
80
81
### Loading External Classes
81
82
82
83
类名 | 描述
Original file line number Diff line number Diff line change @@ -21,10 +21,6 @@ const props: TdLoadingProps = {
21
21
type : Boolean ,
22
22
value : false ,
23
23
} ,
24
- /** 组件类名,分别用于设置加载组件外层元素,加载组件文本,加载组件指示符,加载指示符内侧同心圆等元素类名 */
25
- externalClasses : {
26
- type : Array ,
27
- } ,
28
24
/** 加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符 */
29
25
indicator : {
30
26
type : Boolean ,
@@ -58,10 +54,10 @@ const props: TdLoadingProps = {
58
54
reverse : {
59
55
type : Boolean ,
60
56
} ,
61
- /** 尺寸,示例:40rpx/ 20px */
57
+ /** 尺寸,示例:20px */
62
58
size : {
63
59
type : String ,
64
- value : '40rpx ' ,
60
+ value : '20px ' ,
65
61
} ,
66
62
/** 加载提示文案 */
67
63
text : {
Original file line number Diff line number Diff line change @@ -29,13 +29,6 @@ export interface TdLoadingProps {
29
29
type : BooleanConstructor ;
30
30
value ?: boolean ;
31
31
} ;
32
- /**
33
- * 组件类名,分别用于设置加载组件外层元素,加载组件文本,加载组件指示符,加载指示符内侧同心圆等元素类名
34
- */
35
- externalClasses ?: {
36
- type : ArrayConstructor ;
37
- value ?: [ 't-class' , 't-class-text' , 't-class-indicator' ] ;
38
- } ;
39
32
/**
40
33
* 加载指示符,值为 true 显示默认指示符,值为 false 则不显示,也可以自定义指示符
41
34
* @default true
@@ -91,8 +84,8 @@ export interface TdLoadingProps {
91
84
value ?: boolean ;
92
85
} ;
93
86
/**
94
- * 尺寸,示例:40rpx/ 20px
95
- * @default '40rpx '
87
+ * 尺寸,示例:20px
88
+ * @default '20px '
96
89
*/
97
90
size ?: {
98
91
type : StringConstructor ;
You can’t perform that action at this time.
0 commit comments