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">