src/views/index.vue
@@ -1,5 +1,6 @@ <template> <div class="app-container home"> <div class="app-container home index-bg"> 欢迎访问云通数链OA办公系统 </div> </template> @@ -18,6 +19,16 @@ </script> <style scoped lang="scss"> .index-bg { display: flex; padding-left: 42%; align-items: center; background-image: url('../assets/images/login-background.jpg'); background-repeat: no-repeat; background-size: cover; height: calc(100vh - 84px); font-size: 2.5rem; box-sizing: border-box; } </style>