12345678910111213141516171819202122232425262728293031 |
- <import src="../template/template.wxml" />
- <view class="swiper-container">
- <swiper class='swiper' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" circular="true"
- interval="{{interval}}" duration="{{duration}}"indicator-color="rgba(0,0,0,.5)" indicator-active-color="#fff">
- <block wx:for="{{imgUrls}}" wx:key="id">
- <swiper-item>
- <navigator url="/pages/details/details?id={{item.product_id}}" id="{{item.product_id}}" hover-class="navigator-hover">
- <image src="{{item.photo}}" class="slide-image"/>
- </navigator>
- </swiper-item>
- </block>
- </swiper>
- </view>
- <view class="slide"></view>
- <view class="content-wrapper">
- <block wx:for="{{dataList}}" wx:key="void">
- <!-- 使用热门推荐模板,传入当前循环对象item -->
- <template is="jiefItem1" data="{{...item}}"/>
- </block>
- </view>
- <view class="body-view">
- <loading hidden="{{hidden}}">
- 加载中...
- </loading>
- </view>
|