|
@@ -7,23 +7,23 @@
|
|
|
<view class="sortView">
|
|
<view class="sortView">
|
|
|
|
|
|
|
|
<view class="filterCriteria" wx:for="{{2}}" wx:for-item="sort" wx:key="index">
|
|
<view class="filterCriteria" wx:for="{{2}}" wx:for-item="sort" wx:key="index">
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
<view class="searchIcon">
|
|
<view class="searchIcon">
|
|
|
|
|
|
|
|
<image src="/images/mall/search.png" mode=""/>
|
|
<image src="/images/mall/search.png" mode=""/>
|
|
|
-
|
|
|
|
|
- <text class="markline"></text>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view wx:for="{{sort === 0?filterList1:filterList2}}" wx:key="index" wx:for-index="index2" data-item="{{item}}" data-index="{{sort}}" data-index2="{{index2}}" class="filterText {{sort === 0 && filterIndex1 === index2?'selected':''}} {{sort === 1 && filterIndex2 === index2?'selected':''}}" catchtap="selectFilter">
|
|
|
|
|
|
|
+ <scroll-view class="scrollView" scroll-x>
|
|
|
|
|
+
|
|
|
|
|
+ <view wx:for="{{sort === 0?ipInfoList:prodClassList}}" wx:key="index" wx:for-index="index2" data-item="{{item}}" data-index="{{sort}}" data-index2="{{index2}}" class="filterText {{sort === 0 && filterIndex1 === index2?'selected':''}} {{sort === 1 && filterIndex2 === index2?'selected':''}}" catchtap="selectFilter">
|
|
|
|
|
|
|
|
- <text>{{item.title}}</text>
|
|
|
|
|
-
|
|
|
|
|
- <text class="markline"></text>
|
|
|
|
|
|
|
+ <text>{{sort === 0?item.ipName:item.className}}</text>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
+ </scroll-view>
|
|
|
|
|
+
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
</view>
|