swiper 进行滚动

<swiper class="{{swiperClass}}"
  current="{{activeTab}}" 
  duration="{{duration}}" 
  bindchange="handleSwiperChange"
>
    <swiper-item wx:for="{{tabs}}" wx:key="title">
         <slot name="tab-content-{{index}}"></slot>
    </swiper-item>
 </swiper>

 

posted @ 2022-11-16 10:20  Panax  阅读(60)  评论(0编辑  收藏  举报