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>
   <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;`"
+      >
         <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>