优化楼层切换滑动组件
This commit is contained in:
@@ -894,6 +894,8 @@ defineExpose({
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
|
touch-action: pan-y;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
background: rgba(255, 255, 255, 0.84);
|
background: rgba(255, 255, 255, 0.84);
|
||||||
border: 1px solid #dde5df;
|
border: 1px solid #dde5df;
|
||||||
@@ -915,7 +917,9 @@ defineExpose({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.floor-header {
|
.floor-header {
|
||||||
position: relative;
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
padding: 7px 4px 6px;
|
padding: 7px 4px 6px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
:active-floor="activeGuideFloor"
|
:active-floor="activeGuideFloor"
|
||||||
layer-mode-toggle-top="154px"
|
layer-mode-toggle-top="154px"
|
||||||
floor-bottom="185px"
|
floor-bottom="185px"
|
||||||
floor-max-height="342px"
|
floor-max-height="206px"
|
||||||
floor-side="left"
|
floor-side="left"
|
||||||
show-floor-header
|
show-floor-header
|
||||||
:show-layer-mode-toggle="false"
|
:show-layer-mode-toggle="false"
|
||||||
|
|||||||
Reference in New Issue
Block a user