product-file.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
  2. <loading wx:if="{{loading}}" loadingName="{{$t['loading']}}" backgroundColor="#f2f2f2;" opacity="0.8"></loading>
  3. <van-sticky scroll-top="0">
  4. <!-- 查询条件 -->
  5. <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['skuName'])}}">
  6. </dk-dropdown-menu>
  7. </van-sticky>
  8. <view style="display: flex;">
  9. <!-- 左侧菜单列表 -->
  10. <van-sidebar activeKey="{{sideKey}}" bindchange="changeSidebar" custom-class="left-class">
  11. <view style="height:calc({{windowHeight+'px'}} - {{'390rpx'}});overflow: scroll;margin-top: 2vw;">
  12. <van-sidebar-item wx:key="index" custom-class="{{sideKey - 1 == index? 'sidebar-item-before': (sideKey + 1 == index?'sidebar-item-next':'sidebar-item')}}" title="{{item.seriesName}}" data-id="{{item.seriesId}}" wx:for="{{sidebarList}}" />
  13. </view>
  14. </van-sidebar>
  15. <view style="margin-left: 140rpx;width: 100%;">
  16. <!-- 列表 -->
  17. <dk-list list="{{tableData}}" titleImageFlag="{{false}}"
  18. swipeDisabled="{{false}}" bind:swipe="deactivateEnable"
  19. statusFlag="{{false}}" flgPoint="{{false}}"
  20. switchFlag="{{true}}" title="skuName"
  21. content="{{contentList}}" bind:toDetail="toDetail"
  22. routeObjName="{{routeObjName}}"
  23. ></dk-list>
  24. <!-- 保留高度 -->
  25. <view style="height: 220rpx;"></view>
  26. </view>
  27. </view>
  28. <!-- 底部信息 -->
  29. <dk-save-bottom flagTypeName="Product-file" bottomClass="{{true}}" bind:allClean="toAdd" />