Ver Fonte

fix:压缩首页图片

zcuishan há 5 meses atrás
pai
commit
5153b79152
2 ficheiros alterados com 3 adições e 3 exclusões
  1. BIN
      src/assets/images/login-left1.webp
  2. 3 3
      src/views/sys/login/Login.vue

BIN
src/assets/images/login-left1.webp


+ 3 - 3
src/views/sys/login/Login.vue

@@ -6,8 +6,8 @@
         <img src="../../../assets/images/login-logo.png" />
       </div>
       <div :class="`${prefixCls}-form`">
-        <div style="font-size: 36px; font-weight: bold; color: rgb(11, 11, 11);">Hi,欢迎使用~</div>
-        <div style="font-size: 24px; color: rgb(11, 11, 11); margin: 10px 0;">
+        <div style="font-size: 36px; font-weight: bold; color: rgb(11, 11, 11)">Hi,欢迎使用~</div>
+        <div style="font-size: 24px; color: rgb(11, 11, 11); margin: 10px 0">
           {{ title }}
         </div>
         <LoginForm />
@@ -51,7 +51,7 @@
       }
     }
 
-    background-image: url(../../../assets/images/login-left1.png);
+    background-image: url(../../../assets/images/login-left1.webp);
     background-position: center center;
     background-repeat: no-repeat;
     background-attachment: initial;