浏览代码

更换背景图

zy1125 1 年之前
父节点
当前提交
e42b1ccf84
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 二进制
      public/img/bg.png
  2. 1 1
      src/components/Login.vue

二进制
public/img/bg.png


+ 1 - 1
src/components/Login.vue

@@ -44,7 +44,7 @@ export default ({
44
     // background-color: darkcyan;
44
     // background-color: darkcyan;
45
     background: url('/public/img/bg.png');
45
     background: url('/public/img/bg.png');
46
 
46
 
47
-    background-size: cover;
47
+    background-size: 100% 100%;
48
     z-index: 888;
48
     z-index: 888;
49
 
49
 
50
     // background-color: #040728;
50
     // background-color: #040728;