For AI agents: the complete documentation index is available at /apps-plugin/docs/llms.txt, the full documentation bundle is available at /apps-plugin/docs/llms-full.txt, and this page is available as Markdown at /apps-plugin/docs/components/view-container/swiper-item.md.

swiper-item

轮播项组件,用于包裹单个轮播内容,必须作为 Swiper 的直接子组件使用。

扫码预览

扫码预览 swiper-item

Props

属性名类型默认值必填说明
childrenReactElement<any, string | JSXElementConstructor<any>>
| ReactElement<any, string | JSXElementConstructor<any>>[]
-是子元素
classNamestring-否类名
indexnumber-是当前 SwiperItem 的索引,基于 Swiper 的数据
overlapboolean-否传递给 SwiperItem 直接子元素的 overlap 属性
仅在透明度有问题时使用
realIndexnumber-否当前 SwiperItem 的真实索引,基于 Swiper 的数据
与 index 相同,但在 loop 模式下会不同
styleCSSProperties-否样式