swiper组件进入页面时怎么从指定index开始?
xxx.js
data: {
cu_index:0
,//从0开始第几个
}
xxx.wxml
<
swiper
current
=
"{{cu_index}}"
>
swiper-item
wx:for
'{{5}}'
{{index}}
</
current=“index”