|
|
@@ -1,8 +1,8 @@
|
|
|
<!--index.wxml-->
|
|
|
+<!-- 头部 -->
|
|
|
+<header position="index"></header>
|
|
|
+
|
|
|
<view class="container">
|
|
|
-
|
|
|
- <!-- 头部 -->
|
|
|
- <header position="index"></header>
|
|
|
|
|
|
<view class="banner">
|
|
|
<view class="banner-item">
|
|
|
@@ -28,14 +28,29 @@
|
|
|
<image src="/images/index/hot-right.png" class="hot-image" bind:tap="presaleBut"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="brand-bar {{isBrandMini ? 'mini' : ''}}">
|
|
|
+ <view class="brand-bar">
|
|
|
+ brand-bar
|
|
|
+ <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>
|
|
|
+ <span>{{ item.className }}</span>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="brand-bar mini" style="{{isBrandMini ? 'opacity: 1;' : 'opacity: 0;'}}">
|
|
|
+ brand-bar
|
|
|
<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>
|
|
|
<span>{{ item.className }}</span>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="category {{isCategoryMini ? 'mini' : ''}}">
|
|
|
+ <view class="category">
|
|
|
+ <view wx:for="{{prodClassList}}" wx:key="index" class="category-item">
|
|
|
+ <image src="{{item.classUrl}}" data-item="{{item}}" class="category-image"></image>
|
|
|
+ <span>{{ item.className }}</span>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="category mini" style="{{isCategoryMini ? 'opacity: 1;' : 'opacity: 0;'}}">
|
|
|
<view wx:for="{{prodClassList}}" wx:key="index" class="category-item">
|
|
|
<image src="{{item.classUrl}}" data-item="{{item}}" class="category-image"></image>
|
|
|
<span>{{ item.className }}</span>
|