From b482373152d92d588769120d76281b3d4095bc1c Mon Sep 17 00:00:00 2001 From: z00797032 Date: Sun, 23 Oct 2022 14:10:16 +0800 Subject: [PATCH] =?UTF-8?q?fixed=2046b0a2e=20from=20https://gitee.com/zhan?= =?UTF-8?q?g-xiao150/docs/pulls/10951=20=E4=BF=AE=E6=94=B9Badge=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: z00797032 --- .../reference/arkui-ts/ts-container-badge.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-container-badge.md b/zh-cn/application-dev/reference/arkui-ts/ts-container-badge.md index 6db7e8dbfb..7e03805a45 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-container-badge.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-container-badge.md @@ -46,12 +46,13 @@ | Left | 圆点显示在左侧纵向居中。 | ## BadgeStyle对象说明 -| 名称 | 类型 | 必填 | 默认值 | 描述 | - | -------- | -------- | -------- | -------- | -------- | -| color | [ResourceColor](ts-types.md#resourcecolor) | 否 | Color.White | 文本颜色。 | -| fontSize | number \| string | 否 | 10 | 文本大小。 | -| badgeSize | number \| string | 是 | - | badge的大小。 | -| badgeColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | Color.Red | badge的颜色。 | + +| 名称 | 类型 | 必填 | 默认值 | 描述 | +| ---------- | ------------------------------------------ | ---- | ----------- | ------------------------------------------- | +| color | [ResourceColor](ts-types.md#resourcecolor) | 否 | Color.White | 文本颜色。 | +| fontSize | number \| string | 否 | 10 | 文本大小,单位vp。 | +| badgeSize | number \| string | 否 | 16 | Badge的大小,单位vp。不支持百分比形式设置。 | +| badgeColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | Color.Red | Badge的颜色。 | ## 示例 -- GitLab