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>
作者:人参,每篇随笔皆原创(除非注明原作者的随笔),欢迎指正!