提交 3616af8f 编写于 作者: 雪洛's avatar 雪洛

fix: swiper-item item-id属性应为字符串

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