2022-12-14 18:38:51 +08:00

25 lines
426 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div id="main-content">
<router-view />
</div>
</template>
<script>
export default {
name: "Main",
components: {},
props: {},
setup(){
return {}
}
};
</script>
<style lang="scss" scoped>
#main-content {
background-color: #fff; // 背景色
padding: 20px; // 内边距4个边都为20px
min-height: 100%; // 高度
@include webkit(box-sizing, border-box); // css3阴影
}
</style>