Ver código fonte

Merge branch 'master' of http://git.cc-lotus.info/smart-jobs/web-common

lrf402788946 5 anos atrás
pai
commit
36be7ac99e
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      src/layout/index/top.vue

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

@@ -1,7 +1,11 @@
 <template>
   <div id="top">
     <el-row>
-      <el-col :span="24" class="top" :style="`background: url('${topInfo && topInfo.banner ? topInfo.banner : ''} ') center center;min-height:300px;`">
+      <el-col
+        :span="24"
+        class="top"
+        :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">
             <el-image style="width:100px;height:100px" :src="topInfo.logo" v-if="topInfo && topInfo.logo"></el-image>