diff --git a/src/layout/index.vue b/src/layout/index.vue index ef534f7..61c7eca 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -25,10 +25,10 @@ console.log(setting.title); position: relative; width: 100%; // height: 1080px; - height: 1080px; + min-height: 100vh; background-color: #091d22; background: url("../assets//images/bg2.png") no-repeat; - + background-size: cover ; .top { width: 100%; @@ -39,6 +39,7 @@ console.log(setting.title); font-style: italic; background: url("../assets/images/topbgc.png") no-repeat; // background-position: center bottom -10px; + background-size: cover; .title { color: #fff; }