src/views/screen/index.vue
@@ -1,6 +1,8 @@ <template> <div class="home"> 11111 <!-- 顶部菜单占位符 --> <div class="home-t"></div> <div class="home-content">11</div> </div> </template> @@ -12,6 +14,20 @@ <style scoped lang="scss"> .home{ position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-image: url('@/assets/images/map-bg.png'); background-size: 100% 100%; background-repeat: no-repeat; z-index: 10; &-t{ height: 10%; } &-content{ height: 90%; } } </style>