<view class="category-level"><block wx:if="{{cateList.length&&isLoadingCate}}"><view class="category-level-box"><ns-search vue-id="d4ad852a-1" bind:__l="__l"></ns-search><view class="category-goods"><scroll-view class="oneScroll" scroll-y="true"><block wx:for="{{cateList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectOneCategory',['$0',index,true],[[['cateList','',index,'category_id_1']]]]]]]}}" class="{{['oneScroll-item using-hidden',(item.category_id_1==oneCategoryId)?'active color-base-text color-base-bg-before':'']}}" bindtap="__e">{{item.short_name?item.short_name:item.category_name}}</view></block></scroll-view><view class="twoScroll"><view class="category-cate-top"></view><scroll-view style="{{'height:'+('calc(100% - '+height+' )')+';'}}" scroll-y="true"><block wx:if="{{categoryAdvImage}}"><image class="cate-adv" src="{{$root.g0}}" mode="widthFix" data-event-opts="{{[['error',[['e0',['$event']]]]]}}" binderror="__e"></image></block><block wx:if="{{twoCateList.length}}"><view class="twoScroll-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toListDetail',['$0'],[[['twoCateList','',index,'category_id_2']]]]]]]}}" class="twoScroll-item" bindtap="__e"><block wx:if="{{item.$orig.image}}"><image class="twoScroll-item-image" src="{{item.g1}}" mode="aspectFit" data-event-opts="{{[['error',[['cateImageError',[index]]]]]}}" binderror="__e"></image></block><block wx:else><image class="twoScroll-item-image" src="{{item.g2.default_goods_img}}" mode="aspectFit"></image></block><text class="using-hidden twoScroll-item-text">{{''+(item.$orig.short_name?item.$orig.short_name:item.$orig.category_name)+''}}</text></view></block></view></block><block wx:else><ns-empty vue-id="d4ad852a-2" isIndex="{{!1}}" fixed="{{!1}}" text="暂无商品分类" bind:__l="__l"></ns-empty></block></scroll-view></view></view></view></block><block wx:else><ns-empty vue-id="d4ad852a-3" isIndex="{{!1}}" bind:__l="__l"></ns-empty></block></view>