update 布局-固定头部

This commit is contained in:
赵霄
2023-11-29 20:24:24 +08:00
parent 743d7f236b
commit 0ced43397a
+8 -1
View File
@@ -9,7 +9,9 @@
@click-left="handleBack"
@click-right="handleChangeLang"
/>
<router-view />
<div class="scroll-box">
<router-view />
</div>
</div>
</template>
<script>
@@ -104,4 +106,9 @@ export default {
color: @font-color;
}
}
.scroll-box {
height: calc(100vh - 0.88rem);
overflow: auto;
}
</style>