From 585f8d10c193fde3be5cf2946176fbd0c850434f Mon Sep 17 00:00:00 2001 From: sunjiakun Date: Thu, 27 Jul 2023 10:02:29 +0800 Subject: [PATCH] =?UTF-8?q?swiper=20ArrowStyle=E6=8E=A5=E5=8F=A3=E5=86=85?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=90=8D=E7=A7=B0=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: sunjiakun --- .../reference/arkui-ts/ts-container-swiper.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md b/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md index 3735108a93..5db42c5d42 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-container-swiper.md @@ -134,11 +134,11 @@ finishAnimation(callback?: () => void): void | 参数名 | 参数类型 | 必填项 | 参数描述 | | ---------------- | ---------------------------------------- | ---- | ---------------------------------------- | -| isShowBackground | boolean | 否 | 设置箭头底板是否显示。
默认值:false | +| showBackground | boolean | 否 | 设置箭头底板是否显示。
默认值:false | | isSidebarMiddle | boolean | 否 | 设置箭头显示位置。
默认值:false
默认显示在导航点指示器两侧。 | | backgroundSize | [Length](ts-types.md#length) | 否 | 设置底板大小。
在导航点两侧显示:
默认值:24vp
在组件两侧显示:
默认值:32vp
不支持设置百分比。 | | backgroundColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | 设置底板颜色。
在导航点两侧显示:
默认值:\#19182431
在组件两侧显示:
默认值:\#00000000 | -| arrowSize | [Length](ts-types.md#length) | 否 | 设置箭头大小。
在导航点两侧显示时:
默认值:18vp
在组件两侧显示时:
默认值:24vp
**说明:**
isShowBackground为true时,arrowSize为backgroundSize的3/4。
不支持设置百分比。 | +| arrowSize | [Length](ts-types.md#length) | 否 | 设置箭头大小。
在导航点两侧显示时:
默认值:18vp
在组件两侧显示时:
默认值:24vp
**说明:**
showBackground为true时,arrowSize为backgroundSize的3/4。
不支持设置百分比。 | | arrowColor | [ResourceColor](ts-types.md#resourcecolor) | 否 | 设置箭头颜色。
默认值:\#182431 | ## SwiperAutoFill10+ @@ -219,7 +219,7 @@ struct SwiperExample { .duration(1000) .itemSpace(0) .displayArrow({ - isShowBackground:true, + showBackground:true, isSidebarMiddle:true, backgroundSize:24, backgroundColor:Color.White, -- GitLab