| <view class="app"> | 
|   <view class="home_top"> | 
|     <view class="search_wrap"> | 
|       <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image> | 
|       <input bindconfirm="bindblur" model:value="{{ query }}" type="text" placeholder="搜索案例名称" /> | 
|     </view> | 
|   </view> | 
|   <!--  --> | 
|   <view class="home_content"> | 
|     <view class="main_content"> | 
|       <scroll-view class="query_wrap_scroll" scroll-x> | 
|         <view class="query_wrap"> | 
|           <view data-index="{{ index }}" wx:for="{{ cateList }}" class="item" bindtap="changeShowParams"> | 
|             <view class="name">{{ item.tempParamName || item.labelName }}</view> | 
|             <van-icon name="{{ activeIndex === index ? 'arrow-up' : 'arrow-down' }}" /> | 
|           </view> | 
|         </view> | 
|       </scroll-view> | 
|       <!--  param --> | 
|       <view wx:if="{{ activeParam && activeParam.length > 0 }}" class="query_param"> | 
|         <view class="list"> | 
|           <view data-index="{{index}}"  data-code="{{ item.labelValueCode }}" bindtap="tagClick" wx:for="{{ activeParam }}" class="item {{ cateList[activeIndex].tempParamIndex === index ? 'active' : '' }}">{{ item.labelValueName }}</view> | 
|         </view> | 
|         <view class="btns"> | 
|           <view class="btn" bindtap="cancelParam">取消</view> | 
|           <view bindtap="subParam" class="btn sub">确认</view> | 
|         </view> | 
|       </view> | 
|       <view wx:if="{{ activeParam.length > 0 }}" class="shade"></view> | 
|       <view wx:if="{{ showTouch }}" animation="{{animationData}}" class="status"> | 
|         <view class="item {{ sortType == '' ? 'active' : '' }}" data-status="" bindtap="statusChange">默认</view> | 
|         <view class="separate"></view> | 
|         <view class="item {{ sortType == 'greet' ? 'active' : '' }}" data-status="greet" bindtap="statusChange">最热</view> | 
|         <view class="separate"></view> | 
|         <view class="item {{ sortType == 'time' ? 'active' : '' }}" data-status="time" bindtap="statusChange">最新</view> | 
|       </view> | 
|       <!-- goods_list --> | 
|       <scroll-view bindscrolltoupper="bindscrolltoupper" binddragging="touchmove" binddragstart="touchstart" bindscrolltolower="scrolltolower" scroll-y enhanced class="goods_list"> | 
|         <view class="empty"></view> | 
|         <view wx:for="{{ dataList }}" data-id="{{ item.id }}" class="item" bindtap="handleDetail"> | 
|           <view class="img_wrap"> | 
|             <image src="{{ item.coverImage }}" class="img"></image> | 
|             <image wx:if="{{ false }}" class="new" src="../../static/icon/chanpin_ic_new@2x.png" mode="widthFix"></image> | 
|           </view> | 
|           <view class="content"> | 
|             <view class="name">{{ item.title }}</view> | 
|             <view class="info"> | 
|               <image wx:if="{{ !item.isCollection }}" data-code="like" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collect.png" mode="widthFix"></image> | 
|               <image wx:else data-code="like_cancel" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image> | 
|               <text class="num {{item.isCollection ? 'primary' : ''}}">{{ item.collectCount }}</text> | 
|               <image class="icon" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image> | 
|               <text>{{ format.formarCount(item.viewCount) }}</text> | 
|             </view> | 
|           </view> | 
|         </view> | 
|         <view wx:if="{{ dataList.length == 0 }}" class="empty_wrap"> | 
|           <image class="default_empty" src="../../static/images/default_empty.png"></image> | 
|         </view> | 
|       </scroll-view> | 
|     </view> | 
|   </view> | 
| </view> | 
| <wxs module="format" src="../../utils/format.wxs"></wxs> |