<view class="category-level"><block wx:if="{{cateList.length&&isLoadingCate}}"><view class="category-level-box"><view class="category-cate-top"><ns-search vue-id="db145af6-1" bind:__l="__l"></ns-search></view><scroll-view class="category-content" style="{{'height:'+('calc(100% - '+height+' )')+';'}}" scroll-y="true"><view class="category-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toListDetail',['$0',1],[[['cateList','',index,'category_id_1']]]]]]]}}" class="category-item" bindtap="__e"><block wx:if="{{item.$orig.image}}"><image class="item-img" src="{{item.g0}}" mode="aspectFit" data-event-opts="{{[['error',[['cateImageError',[index]]]]]}}" binderror="__e"></image></block><block wx:else><image class="item-img" src="{{item.g1.default_goods_img}}" mode="aspectFit"></image></block><text class="using-hidden item-text">{{item.$orig.short_name?item.$orig.short_name:item.$orig.category_name}}</text></view></block></view></scroll-view></view></block><block wx:else><ns-empty vue-id="db145af6-2" isIndex="{{!1}}" bind:__l="__l"></ns-empty></block></view>