调整导览楼层切换布局
This commit is contained in:
@@ -282,6 +282,7 @@ const props = withDefaults(defineProps<{
|
||||
layerMode?: LayerDisplayMode
|
||||
searchTop?: string
|
||||
floorTop?: string
|
||||
floorBottom?: string
|
||||
floorMaxHeight?: string
|
||||
layerModeToggleTop?: string
|
||||
toolsTop?: string
|
||||
@@ -330,6 +331,7 @@ const props = withDefaults(defineProps<{
|
||||
layerMode: 'single',
|
||||
searchTop: '16px',
|
||||
floorTop: '164px',
|
||||
floorBottom: '',
|
||||
floorMaxHeight: '',
|
||||
layerModeToggleTop: '154px',
|
||||
toolsTop: '406px',
|
||||
@@ -439,7 +441,7 @@ const searchFieldStyle = computed(() => ({
|
||||
}))
|
||||
|
||||
const floorSwitcherStyle = computed(() => ({
|
||||
top: props.floorTop,
|
||||
...(props.floorBottom ? { bottom: props.floorBottom } : { top: props.floorTop }),
|
||||
...(props.floorMaxHeight ? { maxHeight: props.floorMaxHeight } : {})
|
||||
}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user