47 1 month ago
parent
commit
80aaad3411
1 changed files with 7 additions and 2 deletions
  1. 7 2
      src/views/Login/Login.vue

+ 7 - 2
src/views/Login/Login.vue

@@ -123,10 +123,10 @@ $prefix-cls: #{$namespace}-login;
 
 <template>
   <div
-    :class="prefixCls"
+    :class="[prefixCls, 'background-image']"
     class="relative h-full flex flex-col items-center justify-center"
-    style="background-image: url('http://172.16.59.50:9000/graduate/c252713a841785081220d558b8967220116fa4798d15b2600c402d9742963b2a.jpg'); background-size: cover;"
   >
+  <!-- style="background-image: url('http://172.16.59.50:9000/graduate/c252713a841785081220d558b8967220116fa4798d15b2600c402d9742963b2a.jpg'); background-size: cover;" -->
     <!-- 上部的 logo + 系统标题 -->
     <div class="absolute top-5 left-5 flex items-center text-white">
       <img alt="" class="mr-2 h-48px w-48px" src="@/assets/imgs/logo.png" />
@@ -189,6 +189,11 @@ $prefix-cls: #{$namespace}-login;
     height: auto;
   }
 }
+.background-image {
+  background-image: url('D:/coding/graduate-ui/src/assets/imgs/GLUT.png');
+  background-size: cover;
+  background-position: center;
+}
 </style>
 
 <style lang="scss">