From 16bd1e3910a26a6b3489861044205b152d6fd610 Mon Sep 17 00:00:00 2001 From: sunziyuan Date: Mon, 26 May 2025 20:08:24 +0800 Subject: [PATCH 1/2] fix itemDivider_doc Signed-off-by: sunziyuan Change-Id: I15144c3ca3a3bb9b86c519f658d41fcee497f2df --- .../reference/apis-arkui/arkui-ts/ts-basic-components-menu.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md index 6332f047ba8..e2300131156 100644 --- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md +++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md @@ -101,7 +101,7 @@ startMargin + endMargin 超过组件宽度后startMargin和endMargin会被置0 | 参数名 | 类型 | 必填 | 说明 | |---------|--------------------------------------------------------|------------| -------------- | -| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItem分割线样式。
-strokeWidth:分割线的线宽。
-color:分割线的颜色。
-startMargin:分割线与menuItem侧边起端的距离。
-endMargin:分割线与menuItem侧边结束端的距离。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | +| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItem分割线样式。
-strokeWidth:分割线的线宽,不支持百分比。
-color:分割线的颜色。
-startMargin:分割线与menuItem侧边起端的距离。
-endMargin:分割线与menuItem侧边结束端的距离。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | ### menuItemGroupDivider12+ @@ -117,7 +117,7 @@ menuItemGroupDivider(options: DividerStyleOptions | undefined) | 参数名 | 类型 | 必填 | 说明 | |---------|--------------------------------------------------------|------------| -------------- | -| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItemGroup顶部和底部分割线样式。
-strokeWidth:分割线的线宽,默认值是1px。
-color:分割线的颜色,默认值是 #33000000。
-startMargin:分割线与menuItemGroup侧边起端的距离,默认值是16。
-endMargin:分割线与menuItemGroup侧边结束端的距离,默认值是16。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | +| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItemGroup顶部和底部分割线样式。
-strokeWidth:分割线的线宽,默认值是1px,不支持百分比。
-color:分割线的颜色,默认值是 #33000000。
-startMargin:分割线与menuItemGroup侧边起端的距离,默认值是16。
-endMargin:分割线与menuItemGroup侧边结束端的距离,默认值是16。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | ### subMenuExpandingMode12+ -- Gitee From d14a9cf9d605b470b3e2b2e8095b6e5e9160d116 Mon Sep 17 00:00:00 2001 From: sunziyuan Date: Mon, 26 May 2025 20:27:24 +0800 Subject: [PATCH 2/2] fix itemDivider_doc Signed-off-by: sunziyuan Change-Id: I0cca34a890a5ffdf75ec98785433a476410d20a8 --- .../reference/apis-arkui/arkui-ts/ts-basic-components-menu.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md index e2300131156..12c5f80e545 100644 --- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md +++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md @@ -101,7 +101,7 @@ startMargin + endMargin 超过组件宽度后startMargin和endMargin会被置0 | 参数名 | 类型 | 必填 | 说明 | |---------|--------------------------------------------------------|------------| -------------- | -| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItem分割线样式。
-strokeWidth:分割线的线宽,不支持百分比。
-color:分割线的颜色。
-startMargin:分割线与menuItem侧边起端的距离。
-endMargin:分割线与menuItem侧边结束端的距离。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | +| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItem分割线样式。
-strokeWidth:分割线的线宽,不支持百分比。
-color:分割线的颜色。
-startMargin:分割线与menuItem侧边起端的距离, 不支持百分比。
-endMargin:分割线与menuItem侧边结束端的距离,不支持百分比。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | ### menuItemGroupDivider12+ @@ -117,7 +117,7 @@ menuItemGroupDivider(options: DividerStyleOptions | undefined) | 参数名 | 类型 | 必填 | 说明 | |---------|--------------------------------------------------------|------------| -------------- | -| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItemGroup顶部和底部分割线样式。
-strokeWidth:分割线的线宽,默认值是1px,不支持百分比。
-color:分割线的颜色,默认值是 #33000000。
-startMargin:分割线与menuItemGroup侧边起端的距离,默认值是16。
-endMargin:分割线与menuItemGroup侧边结束端的距离,默认值是16。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | +| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItemGroup顶部和底部分割线样式。
-strokeWidth:分割线的线宽,默认值是1px,不支持百分比。
-color:分割线的颜色,默认值是 #33000000。
-startMargin:分割线与menuItemGroup侧边起端的距离,默认值是16,不支持百分比。
-endMargin:分割线与menuItemGroup侧边结束端的距离,默认值是16,不支持百分比。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | ### subMenuExpandingMode12+ -- Gitee