|
|
@@ -0,0 +1,32 @@
|
|
|
+<!--pages/Mall/sortCommodity/sortCommodity.wxml-->
|
|
|
+
|
|
|
+<!-- 头部 -->
|
|
|
+<header position="sort"></header>
|
|
|
+
|
|
|
+<!-- 分类 -->
|
|
|
+<view class="sortView">
|
|
|
+
|
|
|
+ <view class="filterCriteria" wx:for="{{2}}" wx:for-item="sort" wx:key="index">
|
|
|
+
|
|
|
+ <view class="searchIcon">
|
|
|
+
|
|
|
+ <image src="/images/mall/search.png" mode=""/>
|
|
|
+
|
|
|
+ <text class="markline"></text>
|
|
|
+
|
|
|
+ </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">
|
|
|
+
|
|
|
+ <text>{{item.title}}</text>
|
|
|
+
|
|
|
+ <text class="markline"></text>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+ </view>
|
|
|
+
|
|
|
+</view>
|
|
|
+
|
|
|
+<!-- 商品列表 -->
|
|
|
+<product-list position="sort"></product-list>
|