优化楼层切换滑动组件

This commit is contained in:
lyf
2026-06-29 21:41:52 +08:00
parent d0367289ca
commit a6a88e6989
2 changed files with 6 additions and 2 deletions

View File

@@ -894,6 +894,8 @@ defineExpose({
box-sizing: border-box;
overflow-y: auto;
overscroll-behavior: contain;
-webkit-overflow-scrolling: touch;
touch-action: pan-y;
scrollbar-width: none;
background: rgba(255, 255, 255, 0.84);
border: 1px solid #dde5df;
@@ -915,7 +917,9 @@ defineExpose({
}
.floor-header {
position: relative;
position: sticky;
top: 0;
z-index: 1;
min-height: 50px;
padding: 7px 4px 6px;
display: flex;