basic-data.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
  2. <loading wx:if="{{loading}}"></loading>
  3. <van-sticky scroll-top="0" id="sticky">
  4. <dk-navbar titleFontColor="#000000" navbarTitle="基础资料" bind:clickBack="handleNavBack" operateShow="{{ guideUrl ? true: false}}" operateUrl="{{guideUrl}}"/>
  5. <!-- 查询条件 -->
  6. <dk-dropdown-menu model:value="{{searchForm}}" menuList="{{searchContent}}" pullMenuList="{{pullMenuList}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['dataName','remarks'])}}">
  7. </dk-dropdown-menu>
  8. </van-sticky>
  9. <view style="display: flex;">
  10. <!-- 左侧菜单列表 -->
  11. <van-sidebar activeKey="{{sideKey}}" bindchange="changeSidebar" custom-class="left-class">
  12. <view style="height:calc({{windowHeight - stickyHeight - 85+'px'}} );overflow: scroll;--stickyHeight--:{{stickyHeight * 2 + 'rpx'}}">
  13. <van-sidebar-item wx:key="index" custom-class="{{sideKey - 1 == index? 'sidebar-item-before': (sideKey + 1 == index?'sidebar-item-next':'sidebar-item')}}" title="{{item.kindName}}" data-id="{{item.id}}" wx:for="{{sidebarList}}" />
  14. </view>
  15. </van-sidebar>
  16. <view style="margin-left: 140rpx;width: 100%;">
  17. <!-- 列表 -->
  18. <dk-list list="{{tableData}}" titleImageFlag="{{false}}" swipeDisabled="{{false}}" bind:swipe="deactivateEnable" statusFlag="{{false}}" flgPoint="{{false}}" switchFlag="{{true}}" title="title" content="{{contentList}}" flgValidOnFlag="{{true}}" simpleFlag="{{true}}" contentObj="{{contentObj}}" contentCol="listItemTitle" bind:toDetail="toDetail" bind:toPoint="toPoint" routeObjName="{{routeObjName}}" buttonList="{{buttonList}}"
  19. defaultFlag="{{true}}" defaultFlagKey="flgDefault"
  20. bind:open="open"></dk-list>
  21. <!-- 保留高度 -->
  22. <view style="height: 220rpx;"></view>
  23. </view>
  24. </view>
  25. <dk-popup id="popup" flgDefaultDisabled="flgDefaultDisabled" validFlag="{{true}}" defaultFlagCol="{{flgDefault}}" defaultFlagTitle="默认" type="basic" priceTitle="" priceCol="pricePromotion" subCol="desc" title="{{formDataName}}" value="{{dataItem}}" show="{{showPop}}" autoCloseFlag="{{false}}" routeObjName="{{routeObjNameGoTo}}" contentObj="{{popContent}}" bind:commit="editItems">
  26. </dk-popup>
  27. <van-dialog id="van-dialog" />
  28. <!-- 底部信息 -->
  29. <dk-save-button model:value="{{btnFormData}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonSaveList}}" contentList="{{contentSaveList}}" bind:open="open"></dk-save-button>