Browse Source

添加背景

Renxy 1 year ago
parent
commit
2c3c053f54
2 changed files with 2 additions and 2 deletions
  1. BIN
      src/assets/projects/bg.png
  2. 2 2
      src/pages/Projects/index.less

BIN
src/assets/projects/bg.png


+ 2 - 2
src/pages/Projects/index.less

@@ -1,8 +1,8 @@
 .main {
 .main {
   width: 100%;
   width: 100%;
   height: 100vh;
   height: 100vh;
-  // background: url('@/assets/projects/bg.png') no-repeat center;
-  // background-size: 100% 100%;
+  background: url('@/assets/projects/bg.png') no-repeat center;
+  background-size: 100% 100%;
   .titleCon {
   .titleCon {
     margin: 0 1.8rem;
     margin: 0 1.8rem;
     padding: 2.64rem 0 0.4rem;
     padding: 2.64rem 0 0.4rem;