From 1e1a18c799fa1c8ee7f670083a3fec9c3048ab93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=B6lwx1400251?= Date: Thu, 29 May 2025 03:16:21 +0000 Subject: [PATCH] =?UTF-8?q?master=EF=BC=9AIndicator/NavDestination?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=87=E7=82=B9=E7=AC=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘晶lwx1400251 --- .../arkui-ts/ts-basic-components-navdestination.md | 10 +++++----- .../arkui-ts/ts-swiper-components-indicator.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-navdestination.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-navdestination.md index 93dad28c3fd..998090a490a 100644 --- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-navdestination.md +++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-navdestination.md @@ -243,7 +243,7 @@ ignoreLayoutSafeArea(types?: Array<LayoutSafeAreaType>, edges?: Array<L | 参数名 | 类型 | 必填 | 说明 | | ------ | -------------------------------------------------- | ---- | ------------------------------------------------------------ | | types | Array <[LayoutSafeAreaType](ts-types.md#layoutsafeareatype12)> | 否 | 配置扩展安全区域的类型。
默认值:
[LayoutSafeAreaType.SYSTEM] | -| edges | Array <[LayoutSafeAreaEdge](ts-types.md#layoutsafeareaedge12)> | 否 | 配置扩展安全区域的方向。
默认值:
[LayoutSafeAreaEdge.TOP, LayoutSafeAreaEdge.BOTTOM]。| +| edges | Array <[LayoutSafeAreaEdge](ts-types.md#layoutsafeareaedge12)> | 否 | 配置扩展安全区域的方向。
默认值:
[LayoutSafeAreaEdge.TOP, LayoutSafeAreaEdge.BOTTOM] | > **说明:** > @@ -432,7 +432,7 @@ enableStatusBar(enabled: Optional<boolean>, animated?: boolean) | 参数名 | 类型 | 必填 | 说明 | | ------ | ------- | ---- | ------------------------------------------------------------ | | enabled | [Optional](ts-universal-attributes-custom-property.md#optional12)<boolean> | 是 | 进入该NavDestination后,系统状态栏的显示/隐藏状态。 | -| animated | boolean | 否 | 是否使用动画的方式显示/隐藏系统状态栏,默认值为:false。 | +| animated | boolean | 否 | 是否使用动画的方式显示/隐藏系统状态栏。
默认值:false | ### enableNavigationIndicator19+ @@ -674,7 +674,7 @@ NavDestination自定义标题。 | 名称 | 类型 | 必填 | 说明 | | ------- | ---------------------------------------- | ---- | -------- | | builder | [CustomBuilder](ts-types.md#custombuilder8) | 是 | 设置标题栏内容。 | -| height | [TitleHeight](ts-appendix-enums.md#titleheight9) \| [Length](ts-types.md#length) | 是 | 设置标题栏高度。
取值范围:[0, +∞)。 | +| height | [TitleHeight](ts-appendix-enums.md#titleheight9) \| [Length](ts-types.md#length) | 是 | 设置标题栏高度。
取值范围:[0, +∞) | ## NavDestinationContext11+ @@ -698,7 +698,7 @@ getConfigInRouteMap(): RouteMapConfig |undefined **系统能力:** SystemCapability.ArkUI.ArkUI.Full -**返回值** +**返回值:** | 类型 | 说明 | | --- | --- | @@ -1318,7 +1318,7 @@ struct HomeBody { ### 示例4(NavDestination配置页面方向和对应状态栏、导航条显隐) -以下示例主要演示每个NavDestination可以配置指定的页面方向和状态栏,导航栏显隐状态 +以下示例主要演示每个NavDestination可以配置指定的页面方向和状态栏,导航栏显隐状态。 ```ts import { window } from '@kit.ArkUI'; diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-swiper-components-indicator.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-swiper-components-indicator.md index 88a6a8b326c..b5f83f2ff59 100644 --- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-swiper-components-indicator.md +++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-swiper-components-indicator.md @@ -55,7 +55,7 @@ style(indicatorStyle: DotIndicator | DigitIndicator) | 参数名 | 类型 | 必填 | 说明 | | ------ | ------------------------------------------------------------ | ---- | ------------------------------------------------------------ | -| indicatorStyle | [DotIndicator](ts-container-swiper.md#dotindicator10) \| [DigitIndicator](ts-container-swiper.md#digitindicator10) | 是 | 可选导航点指示器样式。
\- DotIndicator:圆点指示器样式。
\- DigitIndicator:数字指示器样式。
  默认类型:DotIndicator。 | +| indicatorStyle | [DotIndicator](ts-container-swiper.md#dotindicator10) \| [DigitIndicator](ts-container-swiper.md#digitindicator10) | 是 | 可选导航点指示器样式。
\- DotIndicator:圆点指示器样式。
\- DigitIndicator:数字指示器样式。
  默认类型:DotIndicator | > **说明:** > @@ -79,7 +79,7 @@ count(totalCount: number) | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------------------------------------------------ | -| totalCount | number | 是 | 导航点总数量。
默认值:2。 | +| totalCount | number | 是 | 导航点总数量。
默认值:2 | ### initialIndex @@ -99,7 +99,7 @@ initialIndex(index: number) | 参数名 | 类型 | 必填 | 说明 | | ------ | ------ | ---- | ------------------------------------------------ | -| index | number | 是 | 首次显示时当前导航点的索引值。
默认值:0。 | +| index | number | 是 | 首次显示时当前导航点的索引值。
默认值:0 | ### loop @@ -119,7 +119,7 @@ loop(isLoop: boolean) | 参数名 | 类型 | 必填 | 说明 | | ------ | ------- | ---- | ------------------------------- | -| isLoop | boolean | 是 | 是否开启循环。true为开启循环,false为不开启循环。
默认值:true。 | +| isLoop | boolean | 是 | 是否开启循环。true为开启循环,false为不开启循环。
默认值:true | ### vertical @@ -220,7 +220,7 @@ changeIndex(index: number, useAnimation?: boolean): void | 参数名 | 类型 | 必填 | 说明 | | -------- | ---------- | ---- | -------- | | index| number | 是 | 指定页面在Swiper中的索引值。 | -| useAnimation| boolean | 否 | 设置翻至指定页面时是否有动效,true表示有动效,false表示没有动效。
默认值:false。 | +| useAnimation| boolean | 否 | 设置翻至指定页面时是否有动效,true表示有动效,false表示没有动效。
默认值:false | ## 示例 -- Gitee