<view class="content"><view class="navbar" style="{{'position:'+(headerPosition)+';'+('top:'+(headerTop)+';')}}"><view data-event-opts="{{[['tap',[['tabClick',[0]]]]]}}" class="{{['nav-item',(filterIndex===0)?'current':'']}}" bindtap="__e">综合排序</view><view data-event-opts="{{[['tap',[['tabClick',[1]]]]]}}" class="{{['nav-item',(filterIndex===1)?'current':'']}}" bindtap="__e"><text>销量优先</text><view class="p-box"><text class="{{['iconfont','iconfold',(numberOrder===1&&filterIndex===1)?'active':'']}}"></text><text class="{{['iconfont','iconfold','xia',(numberOrder===2&&filterIndex===1)?'active':'']}}"></text></view></view><view data-event-opts="{{[['tap',[['tabClick',[2]]]]]}}" class="{{['nav-item',(filterIndex===2)?'current':'']}}" bindtap="__e"><text>价格</text><view class="p-box"><text class="{{['iconfont','iconfold',(priceOrder===1&&filterIndex===2)?'active':'']}}"></text><text class="{{['iconfont','iconfold','xia',(priceOrder===2&&filterIndex===2)?'active':'']}}"></text></view></view><text data-event-opts="{{[['tap',[['toggleCateMask',['show']]]]]}}" class="cate-item iconfont iconapps" bindtap="__e"></text></view><view class="goods-list"><block wx:for="{{goodsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navToDetailPage',['$0'],[[['goodsList','',index]]]]]]]}}" class="goods-item" bindtap="__e"><view class="image-wrapper"><image src="{{item.image}}" mode="aspectFill"></image></view><text class="title clamp">{{item.title}}</text><view class="price-box"><text class="price">{{item.price}}</text><text>{{"已售 "+item.sales}}</text></view></view></block></view><uni-load-more vue-id="504effa2-1" status="{{loadingType}}" bind:__l="__l"></uni-load-more><view data-event-opts="{{[['tap',[['toggleCateMask',['$event']]]]]}}" class="{{['cate-mask',cateMaskState===0?'none':cateMaskState===1?'show':'']}}" bindtap="__e"><view data-event-opts="{{[['tap',[['stopPrevent',['$event']]]],['touchmove',[['stopPrevent',['$event']]]]]}}" class="cate-content" catchtap="__e" catchtouchmove="__e"><scroll-view class="cate-list" scroll-y="{{true}}"><block wx:for="{{cateList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view><view class="cate-item b-b two">{{item.cate_name}}</view><block wx:for="{{item.children}}" wx:for-item="tItem" wx:for-index="__i1__" wx:key="id"><view data-event-opts="{{[['tap',[['changeCate',['$0'],[[['cateList','id',item.id],['children','id',tItem.id]]]]]]]}}" class="{{['cate-item','b-b',(tItem.id==cateId)?'active':'']}}" bindtap="__e">{{''+tItem.cate_name+''}}</view></block></view></block></scroll-view></view></view></view>