|
|
@@ -1,6 +1,6 @@
|
|
|
<wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
|
|
|
<loading wx:if="{{loading}}"></loading>
|
|
|
-<van-sticky scroll-top="0">
|
|
|
+<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}}" pullMenuList="{{pullMenuList}}" bind:search="searchData" searchTextPlaceholder="{{wxmlUtil.setSearchPlaceholder($t,['dataName','dataCode','remarks'])}}">
|
|
|
@@ -10,7 +10,7 @@
|
|
|
<view style="display: flex;">
|
|
|
<!-- 左侧菜单列表 -->
|
|
|
<van-sidebar activeKey="{{sideKey}}" bindchange="changeSidebar" custom-class="left-class">
|
|
|
- <view style="height:calc({{windowHeight+'px'}} - {{'390rpx'}});overflow: scroll;">
|
|
|
+ <view style="height:calc({{windowHeight - stickyHeight - 85+'px'}} );overflow: scroll;--stickyHeight--:{{stickyHeight * 2 + 'rpx'}}">
|
|
|
<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}}" />
|
|
|
</view>
|
|
|
</van-sidebar>
|