|
@@ -6,9 +6,17 @@
|
|
|
|
|
|
|
|
<view class="banner">
|
|
<view class="banner">
|
|
|
<view class="banner-item">
|
|
<view class="banner-item">
|
|
|
- banner
|
|
|
|
|
|
|
+ <swiper class="bannerSwiper" indicator-dots='{{true}}' indicator-color='rgba(33, 33, 33, .3)' indicator-active-color='rgba(33, 33, 33, 1)' circular='{{true}}' current='{{index}}' autoplay style="{{''}}" bindchange='bindchange'>
|
|
|
|
|
+ <block wx:for='{{bannerList}}' wx:key='this'>
|
|
|
|
|
+ <swiper-item>
|
|
|
|
|
+ <image class="bannerImg" mode='widthFix' src="{{item.bannerUrl}}" data-item="{{item}}"></image>
|
|
|
|
|
+ </swiper-item>
|
|
|
|
|
+ </block>
|
|
|
|
|
+ </swiper>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <!-- <banner position="index" bannerList="{{bannerList}}"/> -->
|
|
|
|
|
+
|
|
|
<view class="hot-bar">
|
|
<view class="hot-bar">
|
|
|
<view class="hot-A">
|
|
<view class="hot-A">
|
|
|
<image src="/images/index/hot-item.png" class="hot-image"></image>
|
|
<image src="/images/index/hot-item.png" class="hot-image"></image>
|
|
@@ -21,19 +29,19 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="brand-bar">
|
|
<view class="brand-bar">
|
|
|
- <view wx:for="{{brandList}}" wx:key="index" class="brand-item">
|
|
|
|
|
- <image src="/images/index/brand-item.png" class="brand-image"></image>
|
|
|
|
|
|
|
+ <view wx:for="{{ipInfoList}}" wx:key="index" class="brand-item">
|
|
|
|
|
+ <image src="{{item.ipUrl}}" data-item="{{item}}" class="brand-image"></image>
|
|
|
<!-- <text class="brand-name">{{item.name}}</text> -->
|
|
<!-- <text class="brand-name">{{item.name}}</text> -->
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="slider">
|
|
|
|
|
|
|
+ <!-- <view class="slider">
|
|
|
<view class="slider-item">
|
|
<view class="slider-item">
|
|
|
slider
|
|
slider
|
|
|
</view>
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
<view class="category">
|
|
<view class="category">
|
|
|
- <view wx:for="{{categoryList}}" wx:key="index" class="category-item">
|
|
|
|
|
- <image src="/images/index/category-item.png" class="category-image"></image>
|
|
|
|
|
|
|
+ <view wx:for="{{prodClassList}}" wx:key="index" class="category-item">
|
|
|
|
|
+ <image src="{{item.classUrl}}" data-item="{{item}}" class="category-image"></image>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|