guhongwei 5 年之前
父節點
當前提交
c2887d406f
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      src/layout/index/top.vue

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

@@ -1,7 +1,11 @@
 <template>
 <template>
   <div id="top">
   <div id="top">
     <el-row>
     <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;`"
+      >
         <div class="w_1200">
         <div class="w_1200">
           <el-col :span="2">
           <el-col :span="2">
             <el-image style="width:100px;height:100px" :src="topInfo.logo" v-if="topInfo && topInfo.logo"></el-image>
             <el-image style="width:100px;height:100px" :src="topInfo.logo" v-if="topInfo && topInfo.logo"></el-image>