From 5a1cbbd198bc9c0a6a8af83985c75e96ae25ab9c Mon Sep 17 00:00:00 2001 From: liuchengxin <13104445455@126.com> Date: 星期四, 27 一月 2022 11:28:36 +0800 Subject: [PATCH] 问题修改 --- src/views/index.vue | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 5ff5e4d..c8fb00c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1,5 +1,7 @@ <template> - <div class="app-container home"> + <div class="app-container home index-bg"> + <!--<img src="@/assets/logo/login-logo.png">--> + <!--浜戦�歄A鍔炲叕绯荤粺,娆㈣繋鎮紒--> </div> </template> @@ -18,6 +20,14 @@ </script> <style scoped lang="scss"> - +.index-bg { + display: flex; + justify-content: center; + align-items: center; + /*background-image: url('../assets/images/login-background.jpg');*/ + background-repeat: no-repeat; + background-size: cover; + height: calc(100vh - 84px); +} </style> -- Gitblit v1.9.1