16 lines
379 B
XML
16 lines
379 B
XML
<view>
|
|
<swiper
|
|
style="height:150px"
|
|
class="demo-swiper"
|
|
autoplay="{{autoplay}}"
|
|
vertical="{{vertical}}"
|
|
interval="{{interval}}"
|
|
circular="{{circular}}"
|
|
>
|
|
<block a:for="{{bannerList}}">
|
|
<swiper-item>
|
|
<view><image mode="scaleToFill" src="{{item.src}}" style="width:100%;" /></view>
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
</view> |