提交 dd917b1a 编写于 作者: W wanganxp

补注释

上级 fd561114
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
@animationfinish="onSwiperAnimationfinish"> @animationfinish="onSwiperAnimationfinish">
<swiper-item class="swiper-item" v-for="(_, index) in swiperList" :key="index"> <swiper-item class="swiper-item" v-for="(_, index) in swiperList" :key="index">
<text class="swiper-item-text">{{index}}</text> <text class="swiper-item-text">{{index}}</text>
<!-- 可以将上述text组件替换为list组件,实现可左右滑动的长列表 -->
</swiper-item> </swiper-item>
</swiper> </swiper>
</view> </view>
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
@animationfinish="onSwiperAnimationfinish"> @animationfinish="onSwiperAnimationfinish">
<swiper-item class="swiper-item" v-for="(_, index) in swiperList" :key="index"> <swiper-item class="swiper-item" v-for="(_, index) in swiperList" :key="index">
<text class="swiper-item-text">{{index}}</text> <text class="swiper-item-text">{{index}}</text>
<!-- 可以将上述text组件替换为list组件,实现可左右滑动的长列表 -->
</swiper-item> </swiper-item>
</swiper> </swiper>
</view> </view>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册