提交 625e42dc 编写于 作者: shutao-dc's avatar shutao-dc

优化 sticky-header.uvue swiper-item 使用 v-for 实现

上级 ae675a5e
......@@ -3,14 +3,9 @@
:refresher-triggered="refresher_triggered_boolean" @refresherrefresh="list_view_refresherrefresh">
<list-item type = 1>
<swiper indicator-dots="true" circular="true">
<swiper-item item-id="1">
<image src="/static/shuijiao.jpg" style="height: 240px;"></image>
</swiper-item>
<swiper-item item-id="2">
<image src="/static/shuijiao.jpg" style="height: 240px;"></image>
</swiper-item>
<swiper-item item-id="3">
<swiper-item v-for="i in 3" :item-id="i">
<image src="/static/shuijiao.jpg" style="height: 240px;"></image>
<text style="position: absolute;">{{i}}</text>
</swiper-item>
</swiper>
</list-item>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册