guhongwei 5 년 전
부모
커밋
7be969dd3d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/layout/index/top.vue

+ 1 - 1
src/layout/index/top.vue

@@ -4,7 +4,7 @@
       <el-col
         :span="24"
         class="top"
-        :style="`background: url('${topInfo && topInfo.banner ? topInfo.banner : ''} ') center center no-repeat;min-height:300px;`"
+        :style="`background: url('${topInfo && topInfo.banner ? topInfo.banner : ''} ') center center no-repeat;min-height:300px;background-size: cover;`"
       >
         <div class="w_1200">
           <el-col :span="2">