Swiper() {
}
.indicator(
Indicator.dot()
// 设置导航点距离 Swiper 组件底部的距离。无法到达最底部,还是有一定距离
.bottom(0)
)
Swiper() {
}
.indicator(
Indicator.dot()
// 设置导航点距离 Swiper 组件底部的距离。无法到达最底部,还是有一定距离
.bottom(0)
)
1 回答1k 阅读✓ 已解决
1 回答1.3k 阅读
1 回答1.1k 阅读
1 回答1.1k 阅读
1 回答1.1k 阅读
1 回答967 阅读
1 回答938 阅读
1 回答1.2k 阅读✓ 已解决
1 回答671 阅读
1 回答625 阅读
1 回答1.8k 阅读
1 回答706 阅读
可以参考: https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/ts-container-swiper-V5\#indicator
在设置indicator为负数时,可以给循环内部容器设置padding或margin,让indicator看起来像在内容区域外部