修正滚动视图错误

This commit is contained in:
2025-11-05 11:18:27 +08:00
parent 9ea792c1c3
commit f0a3ba0dd8
2 changed files with 11 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<template>
<main class="main">
<Most-Popular />
<Movie-List />
<MostPopular />
<MovieList />
</main>
</template>
<script>
@@ -23,9 +23,8 @@ export default {
<style lang="less" scoped>
.main {
flex: 1;
overflow: auto;
overflow-y: auto;
background-color: @background-color;
&::-webkit-scrollbar {
display: none;
}

View File

@@ -47,4 +47,11 @@ export default {
},
};
</script>
<style lang="less" scoped></style>
<style lang="less" scoped>
.home {
display: flex;
flex-direction: column;
height: 100vh;
overflow: hidden;
}
</style>