From acaf0e90887fa217ff9aec6d0f25af5ec5e237a9 Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期一, 03 七月 2023 18:38:10 +0800 Subject: [PATCH] 配置修改 --- src/views/login.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/views/login.vue b/src/views/login.vue index 0ddaf06..3921cba 100644 --- a/src/views/login.vue +++ b/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; } } } -- Gitblit v1.9.3