guhongwei 5 gadi atpakaļ
vecāks
revīzija
7be969dd3d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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">