浏览代码

只有一个领域不显示筛选

xiaohaizhao 1 年之前
父节点
当前提交
85feb83ab7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/index/market/index.wxml

+ 1 - 1
pages/index/market/index.wxml

@@ -1,6 +1,6 @@
 <view class="DrawerPage {{modalName=='viewModal'?'show':''}}">
 	<van-search use-action-slot placeholder='请输入搜索关键词' shape='round' bind:search="onSearch" bind:clear="onSearch">
-		<view slot="action" class="cuIcon-filter search-right" bindtap="showModal" data-target="viewModal">
+		<view wx:if="{{filtratelist[0].list.length>1}}" slot="action" class="cuIcon-filter search-right" bindtap="showModal" data-target="viewModal">
 			筛选
 		</view>
 	</van-search>