You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
973 B
33 lines
973 B
5 months ago
|
<!--index_index_scroll-->
|
||
|
<template name="index_index_scroll_tmpl">
|
||
|
<swiper class="swiper" indicator-dots="{{indicatorDots}}" vertical="{{vertical}}"
|
||
|
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" bindchange="swiperchange">
|
||
|
<block wx:for="{{images}}" wx:key="item.id">
|
||
|
<swiper-item>
|
||
|
<image src="{{item}}" class="slide-image"/>
|
||
|
</swiper-item>
|
||
|
</block>
|
||
|
</swiper>
|
||
|
</template>
|
||
|
|
||
|
<!--index_index_navs-->
|
||
|
<template name="index_index_navs_tmpl">
|
||
|
<block wx:for="{{navs}}" wx:key="item.id">
|
||
|
<view class="l-c-c" catchtap="go" data-type="{{item.text}}">
|
||
|
<image src="{{item.image}}" class="slide-image"/>
|
||
|
<text>{{item.text}}</text>
|
||
|
</view>
|
||
|
</block>
|
||
|
</template>
|
||
|
|
||
|
<!--index_index_items-->
|
||
|
<template name="index_index_items_tmpl">
|
||
|
<block wx:for="{{items}}" wx:key="item.id">
|
||
|
<view class="item">
|
||
|
<image src="{{item.image}}" class="slide-image"/>
|
||
|
</view>
|
||
|
</block>
|
||
|
</template>
|
||
|
|
||
|
|