@@ -3,12 +3,12 @@ import { StandardProps, CommonEventFunction } from './common'
3
3
interface PageContainerProps extends StandardProps {
4
4
/** 是否显示容器组件
5
5
* @default false
6
- * @supported weapp, alipay, rn
6
+ * @supported weapp, alipay, jd, rn
7
7
*/
8
8
show ?: boolean
9
9
/** 动画时长,单位毫秒
10
10
* @default 300
11
- * @supported weapp, alipay, rn
11
+ * @supported weapp, alipay, jd, rn
12
12
*/
13
13
duration ?: number
14
14
/** z-index 层级
@@ -18,58 +18,58 @@ interface PageContainerProps extends StandardProps {
18
18
zIndex ?: number
19
19
/** 是否显示遮罩层
20
20
* @default true
21
- * @supported weapp, alipay, rn
21
+ * @supported weapp, alipay, jd, rn
22
22
*/
23
23
overlay ?: boolean
24
24
/** 弹出位置,可选值为 top bottom right center
25
25
* @default bottom
26
- * @supported weapp, alipay, rn
26
+ * @supported weapp, alipay, jd, rn
27
27
*/
28
28
position ?: keyof PageContainerProps . Position
29
29
/** 是否显示圆角
30
30
* @default false
31
- * @supported weapp, alipay, rn
31
+ * @supported weapp, alipay, jd, rn
32
32
*/
33
33
round ?: boolean
34
34
/** 自定义遮罩层样式
35
- * @supported weapp, alipay, rn
35
+ * @supported weapp, alipay, jd, rn
36
36
*/
37
37
overlayStyle ?: string
38
38
/** 自定义弹出层样式
39
- * @supported weapp, alipay, rn
39
+ * @supported weapp, alipay, jd, rn
40
40
*/
41
41
customStyle ?: string
42
42
/** 是否在下滑一段距离后关闭
43
- * @supported weapp, alipay
43
+ * @supported weapp, alipay, jd
44
44
* @default false
45
45
*/
46
46
closeOnSlideDown ?: boolean
47
47
/** 进入前触发
48
- * @supported weapp, alipay, rn
48
+ * @supported weapp, alipay, jd, rn
49
49
*/
50
50
onBeforeEnter ?: CommonEventFunction
51
51
/** 进入中触发
52
- * @supported weapp, alipay, rn
52
+ * @supported weapp, alipay, jd, rn
53
53
*/
54
54
onEnter ?: CommonEventFunction
55
55
/** 进入后触发
56
- * @supported weapp, alipay, rn
56
+ * @supported weapp, alipay, jd, rn
57
57
*/
58
58
onAfterEnter ?: CommonEventFunction
59
59
/** 离开前触发
60
- * @supported weapp, alipay, rn
60
+ * @supported weapp, alipay, jd, rn
61
61
*/
62
62
onBeforeLeave ?: CommonEventFunction
63
63
/** 离开中触发
64
- * @supported weapp, alipay, rn
64
+ * @supported weapp, alipay, jd, rn
65
65
*/
66
66
onLeave ?: CommonEventFunction
67
67
/** 离开后触发
68
- * @supported weapp, alipay, rn
68
+ * @supported weapp, alipay, jd, rn
69
69
*/
70
70
onAfterLeave ?: CommonEventFunction
71
71
/** 点击遮罩层时触发
72
- * @supported weapp, alipay
72
+ * @supported weapp, alipay, jd
73
73
*/
74
74
onClickOverlay ?: CommonEventFunction
75
75
/** 进入被打断时触发(通过 a: if 打断时不会触发)。
@@ -103,7 +103,7 @@ declare namespace PageContainerProps {
103
103
* 1. tip: 当前页面最多只有 1 个容器,若已存在容器的情况下,无法增加新的容器
104
104
* 2. tip: wx.navigateBack 无法在页面栈顶调用,此时没有上一级页面
105
105
* @classification viewContainer
106
- * @supported weapp, alipay, rn
106
+ * @supported weapp, alipay, jd, rn
107
107
* @see https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html
108
108
*/
109
109
declare const PageContainer : ComponentType < PageContainerProps >
0 commit comments