style: 选了20条或50条等超出一页范围时,没法上下滑动查看

develop
时启龙 2024-11-07 12:32:26 +08:00
parent 84b31aaba4
commit f208a516a7
1 changed files with 16 additions and 8 deletions

View File

@ -1,14 +1,16 @@
<template> <template>
<div> <div>
<AmsPosition></AmsPosition> <AmsPosition></AmsPosition>
<split-pane :min-percent="10" :default-percent="15" split="vertical" style="height: calc(100vh - 110px)"> <div class="warpper">
<template slot="paneL"> <split-pane :min-percent="10" :default-percent="15" split="vertical" style="height: calc(100vh - 110px)">
<SideMenu @handleNodeClick="handleNodeClick" v-if="switchControl"></SideMenu> <template slot="paneL">
</template> <SideMenu @handleNodeClick="handleNodeClick" v-if="switchControl"></SideMenu>
<template slot="paneR"> </template>
<RightList ref="listRef"></RightList> <template slot="paneR">
</template> <RightList ref="listRef"></RightList>
</split-pane> </template>
</split-pane>
</div>
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">
@ -45,3 +47,9 @@ export default defineComponent({
}, },
}) })
</script> </script>
<style lang="scss" scoped>
.warpper {
height: calc(100vh - 100px);
background-color: #fff;
}
</style>