@@ -3,12 +3,12 @@ import { StandardProps, CommonEventFunction } from './common'
33interface PageContainerProps extends StandardProps {
44 /** 是否显示容器组件
55 * @default false
6- * @supported weapp, alipay, rn
6+ * @supported weapp, alipay, jd, rn
77 */
88 show ?: boolean
99 /** 动画时长,单位毫秒
1010 * @default 300
11- * @supported weapp, alipay, rn
11+ * @supported weapp, alipay, jd, rn
1212 */
1313 duration ?: number
1414 /** z-index 层级
@@ -18,58 +18,58 @@ interface PageContainerProps extends StandardProps {
1818 zIndex ?: number
1919 /** 是否显示遮罩层
2020 * @default true
21- * @supported weapp, alipay, rn
21+ * @supported weapp, alipay, jd, rn
2222 */
2323 overlay ?: boolean
2424 /** 弹出位置,可选值为 top bottom right center
2525 * @default bottom
26- * @supported weapp, alipay, rn
26+ * @supported weapp, alipay, jd, rn
2727 */
2828 position ?: keyof PageContainerProps . Position
2929 /** 是否显示圆角
3030 * @default false
31- * @supported weapp, alipay, rn
31+ * @supported weapp, alipay, jd, rn
3232 */
3333 round ?: boolean
3434 /** 自定义遮罩层样式
35- * @supported weapp, alipay, rn
35+ * @supported weapp, alipay, jd, rn
3636 */
3737 overlayStyle ?: string
3838 /** 自定义弹出层样式
39- * @supported weapp, alipay, rn
39+ * @supported weapp, alipay, jd, rn
4040 */
4141 customStyle ?: string
4242 /** 是否在下滑一段距离后关闭
43- * @supported weapp, alipay
43+ * @supported weapp, alipay, jd
4444 * @default false
4545 */
4646 closeOnSlideDown ?: boolean
4747 /** 进入前触发
48- * @supported weapp, alipay, rn
48+ * @supported weapp, alipay, jd, rn
4949 */
5050 onBeforeEnter ?: CommonEventFunction
5151 /** 进入中触发
52- * @supported weapp, alipay, rn
52+ * @supported weapp, alipay, jd, rn
5353 */
5454 onEnter ?: CommonEventFunction
5555 /** 进入后触发
56- * @supported weapp, alipay, rn
56+ * @supported weapp, alipay, jd, rn
5757 */
5858 onAfterEnter ?: CommonEventFunction
5959 /** 离开前触发
60- * @supported weapp, alipay, rn
60+ * @supported weapp, alipay, jd, rn
6161 */
6262 onBeforeLeave ?: CommonEventFunction
6363 /** 离开中触发
64- * @supported weapp, alipay, rn
64+ * @supported weapp, alipay, jd, rn
6565 */
6666 onLeave ?: CommonEventFunction
6767 /** 离开后触发
68- * @supported weapp, alipay, rn
68+ * @supported weapp, alipay, jd, rn
6969 */
7070 onAfterLeave ?: CommonEventFunction
7171 /** 点击遮罩层时触发
72- * @supported weapp, alipay
72+ * @supported weapp, alipay, jd
7373 */
7474 onClickOverlay ?: CommonEventFunction
7575 /** 进入被打断时触发(通过 a: if 打断时不会触发)。
@@ -103,7 +103,7 @@ declare namespace PageContainerProps {
103103 * 1. tip: 当前页面最多只有 1 个容器,若已存在容器的情况下,无法增加新的容器
104104 * 2. tip: wx.navigateBack 无法在页面栈顶调用,此时没有上一级页面
105105 * @classification viewContainer
106- * @supported weapp, alipay, rn
106+ * @supported weapp, alipay, jd, rn
107107 * @see https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html
108108 */
109109declare const PageContainer : ComponentType < PageContainerProps >
0 commit comments