Procházet zdrojové kódy

只有一个领域不显示筛选

xiaohaizhao před 1 rokem
rodič
revize
85feb83ab7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>