<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
<loading wx:if="{{loading}}" loadingName="{{$t['loading']}}" backgroundColor="#f2f2f2;" opacity="0.8"></loading>
<van-sticky scroll-top="0" id="sticky">
  <dk-navbar titleFontColor="#000000" navbarTitle="商品档案" bind:clickBack="handleNavBack" operateShow="{{ guideUrl ? true: false}}" operateUrl="{{guideUrl}}"/>
  <!-- 查询条件 -->
  <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['skuName','skuModel'])}}">
  </dk-dropdown-menu>
</van-sticky>

<view style="display: flex;">
  <!-- 左侧菜单列表 -->
  <van-sidebar activeKey="{{sideKey}}" bindchange="changeSidebar" custom-class="left-class">
    <view style="height:calc({{windowHeight+'px'}} - {{'390rpx'}});overflow: scroll;">
      <van-sidebar-item wx:key="index" custom-class="{{sideKey - 1 == index? 'sidebar-item-before': (sideKey + 1 == index?'sidebar-item-next':'sidebar-item')}}" title="{{item.brandName}}" data-id="{{item.brandId}}" wx:for="{{sidebarList}}" />
    </view>
  </van-sidebar>
  <view style="margin-left: 140rpx;width: 100%;">
    <!-- 列表 -->
    <dk-list list="{{tableData}}" titleImageFlag="{{false}}" swipeDisabled="{{false}}" bind:swipe="deactivateEnable"switchFlag="{{false}}" statusFlag="{{false}}" flgPoint="{{false}}"   title="skuModel" content="{{contentList}}" bind:toDetail="toDetail" routeObjName="{{routeObjName}}"></dk-list> 
    <!-- 保留高度 -->
    <view style="height: 220rpx;"></view>
  </view>

</view>


 
<!-- 新建按钮 -->
<dk-save-button   btnAutoWidthFlag="{{true}}"  buttonList="{{buttonList}}"   bind:open="open"></dk-save-button>