guhongwei 5 lat temu
rodzic
commit
751720f7da

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

@@ -3,7 +3,8 @@
     <el-row>
     <el-row>
       <el-col :span="24" class="image">
       <el-col :span="24" class="image">
         <!-- <el-image :src="topInfo.logo" v-if="topInfo && topInfo.logo"></el-image> -->
         <!-- <el-image :src="topInfo.logo" v-if="topInfo && topInfo.logo"></el-image> -->
-         <el-image :src="topInfo.logo"></el-image>
+         <!-- <el-image :src="topInfo.logo"></el-image> -->
+         <el-image :src="topInfos.logo"></el-image>
       </el-col>
       </el-col>
     </el-row>
     </el-row>
   </div>
   </div>
@@ -14,6 +15,7 @@ export default {
   name: 'top',
   name: 'top',
   props: {
   props: {
     topInfo: null,
     topInfo: null,
+    topInfos:null,
   },
   },
   components: {},
   components: {},
   data: () => ({}),
   data: () => ({}),

+ 2 - 1
src/views/detail/detail.vue

@@ -3,7 +3,7 @@
     <el-row style="overflow-y: hidden;">
     <el-row style="overflow-y: hidden;">
       <el-col :span="24" class="top">
       <el-col :span="24" class="top">
         <div class="w_1200">
         <div class="w_1200">
-          <top :topInfo="topInfo"></top>
+          <top :topInfo="topInfo" :topInfos="topInfos"></top>
         </div>
         </div>
       </el-col>
       </el-col>
       <el-col :span="24" class="menu">
       <el-col :span="24" class="menu">
@@ -31,6 +31,7 @@ import footinfo from '../../layout/index/foot.vue';
 export default {
 export default {
   name: 'detail',
   name: 'detail',
   props: {
   props: {
+    topInfos:null,
     topInfo:null,
     topInfo:null,
     contentList:null,
     contentList:null,
   },
   },

+ 2 - 1
src/views/index/index.vue

@@ -3,7 +3,7 @@
     <el-row style="overflow-y: hidden;">
     <el-row style="overflow-y: hidden;">
       <el-col :span="24" class="top">
       <el-col :span="24" class="top">
         <div class="w_1200">
         <div class="w_1200">
-          <top :topInfo="topInfo"></top>
+          <top :topInfo="topInfo" :topInfos="topInfos"></top>
         </div>
         </div>
       </el-col>
       </el-col>
       <el-col :span="24" class="menu">
       <el-col :span="24" class="menu">
@@ -49,6 +49,7 @@ import footinfo from '../../layout/index/foot.vue';
 export default {
 export default {
   name: 'index',
   name: 'index',
   props: {
   props: {
+    topInfos:null,
     topInfo:null,
     topInfo:null,
     noticelist:null,
     noticelist:null,
     newslist:null,
     newslist:null,

+ 2 - 1
src/views/list/list.vue

@@ -3,7 +3,7 @@
     <el-row style="overflow-y: hidden;">
     <el-row style="overflow-y: hidden;">
       <el-col :span="24" class="top">
       <el-col :span="24" class="top">
         <div class="w_1200">
         <div class="w_1200">
-          <top :topInfo="topInfo"></top>
+          <top :topInfo="topInfo" :topInfos="topInfos"></top>
         </div>
         </div>
       </el-col>
       </el-col>
       <el-col :span="24" class="menu">
       <el-col :span="24" class="menu">
@@ -37,6 +37,7 @@ import footinfo from '../../layout/index/foot.vue';
 export default {
 export default {
   name: 'list',
   name: 'list',
   props: {
   props: {
+    topInfos:null,
     topInfo:null,
     topInfo:null,
     mainRightList:null,
     mainRightList:null,
     total: null,
     total: null,