修改APP.vue的内外边距

This commit is contained in:
Cool 2023-11-20 20:17:42 +08:00
parent 35463b2997
commit a724363711
1 changed files with 23 additions and 17 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div id="app"> <div id="app" class="app1">
<router-view v-if="isRouterAlive"></router-view> <router-view v-if="isRouterAlive"></router-view>
</div> </div>
</template> </template>
@ -33,6 +33,12 @@ export default {
} }
</script> </script>
<style> <style lang="scss">
.app1 {
// background-color: #269b33;
position: relative;
top: 0px;
margin: 0;
height: 100%;
}
</style> </style>