|
@@ -36,8 +36,10 @@
|
|
|
<view class="item {{currentSortType == 'default' ? 'active' : ''}}" bindtap="openSortFilter" id="defaultSort">
|
|
<view class="item {{currentSortType == 'default' ? 'active' : ''}}" bindtap="openSortFilter" id="defaultSort">
|
|
|
<text class="txt">综合</text>
|
|
<text class="txt">综合</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="item by-price {{currentSortType == 'price' ? 'active' : ''}} {{currentSortOrder == 'asc' ? 'asc' : 'desc'}}" bindtap="openSortFilter" id="priceSort">
|
|
|
|
|
|
|
+ <view class="item {{currentSortType == 'price' ? 'active' : ''}}" bindtap="openSortFilter" id="priceSort">
|
|
|
<text class="txt">价格</text>
|
|
<text class="txt">价格</text>
|
|
|
|
|
+ <van-icon name="arrow-up" wx:if="{{ currentSortType == 'price' && currentSortOrder == 'asc' }}" />
|
|
|
|
|
+ <van-icon name="arrow-down" wx:elif="{{ currentSortType == 'price' && currentSortOrder == 'desc'}}" />
|
|
|
</view>
|
|
</view>
|
|
|
<view class="item {{currentSortType == 'category' ? 'active' : ''}}" bindtap="openSortFilter" id="categoryFilter">
|
|
<view class="item {{currentSortType == 'category' ? 'active' : ''}}" bindtap="openSortFilter" id="categoryFilter">
|
|
|
<text class="txt">分类</text>
|
|
<text class="txt">分类</text>
|
|
@@ -59,7 +61,6 @@
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
<view class="search-result-empty" wx:if="{{!goodsList.length && searchStatus}}">
|
|
<view class="search-result-empty" wx:if="{{!goodsList.length && searchStatus}}">
|
|
|
- <image class="icon" src="http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/noSearchResult-7572a94f32.png"></image>
|
|
|
|
|
<text class="text">您寻找的商品还未上架</text>
|
|
<text class="text">您寻找的商品还未上架</text>
|
|
|
</view>
|
|
</view>
|
|
|
</scroll-view>
|
|
</scroll-view>
|