src/views/login.vue
@@ -30,6 +30,7 @@ </div> <div class="zz"> <div class="title_img"> <div class="titleLogo"></div> <h3>月球大数据地理空间分析展示平台</h3> </div> <div class="loginMenu"> @@ -175,14 +176,22 @@ } .title_img { position: absolute; left: 15%; left: 12%; top: 8%; width: 20%; /* transform: translateX(-50%); */ display: flex; align-items: center; .titleLogo { width: 80px; height: 80px; background: url("../assets/img/logo.png") no-repeat; background-size: 100% 100%; } h3 { color: #fff; font-size: 40px; white-space: nowrap; margin-left: 10px; } } }