readme 路径调整
This commit is contained in:
@@ -12,9 +12,9 @@ isComponent: true
|
||||
|
||||
```json
|
||||
"usingComponents": {
|
||||
"t-swiper": "tdesign-miniprogram/swiper/swiper",
|
||||
"t-swiper-item": "tdesign-miniprogram/swiper/swiper-item",
|
||||
"t-swiper-nav": "tdesign-miniprogram/swiper/swiper-nav",
|
||||
"t-swiper": "/components/swiper/swiper",
|
||||
"t-swiper-item": "/components/swiper/swiper-item",
|
||||
"t-swiper-nav": "/components/swiper/swiper-nav",
|
||||
}
|
||||
```
|
||||
|
||||
@@ -81,7 +81,7 @@ pagination-position | String | bottom-right | 页码信息展示位置。可选
|
||||
|
||||
名称 | 参数 | 描述
|
||||
-- | -- | --
|
||||
change | `(current: number, source: SwiperChangeSource)` | 轮播切换时触发。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/swiper/type.ts)。<br/>`type SwiperChangeSource = 'autoplay' | 'touch' | ''`<br/>
|
||||
change | `(current: number, source: SwiperChangeSource)` | 轮播切换时触发。[详细类型定义](https://github.com/Tencent//components/tree/develop/src/swiper/type.ts)。<br/>`type SwiperChangeSource = 'autoplay' | 'touch' | ''`<br/>
|
||||
|
||||
### SwiperNavigation
|
||||
|
||||
@@ -89,4 +89,4 @@ change | `(current: number, source: SwiperChangeSource)` | 轮播切换时触发
|
||||
-- | -- | -- | -- | --
|
||||
min-show-num | Number | - | 小于这个数字不会显示导航器 | N
|
||||
show-slide-btn | Boolean | - | 表示是否显示两侧的滑动控制按钮 | N
|
||||
type | String | - | 导航器类型,点状(dots)、点条状(dots-bar)、分式(fraction)等。TS 类型:`SwiperNavigationType` `type SwiperNavigationType = 'dots' | 'dots-bar' | 'fraction'`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/swiper/type.ts) | N
|
||||
type | String | - | 导航器类型,点状(dots)、点条状(dots-bar)、分式(fraction)等。TS 类型:`SwiperNavigationType` `type SwiperNavigationType = 'dots' | 'dots-bar' | 'fraction'`。[详细类型定义](https://github.com/Tencent//components/tree/develop/src/swiper/type.ts) | N
|
||||
|
||||
Reference in New Issue
Block a user