Kaynağa Gözat

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

lrf402788946 5 yıl önce
ebeveyn
işleme
08d29b19dd

BIN
src/assets/danwei.jpg


BIN
src/assets/shouce.jpg


BIN
src/assets/shouces.jpg


BIN
src/assets/xuesheng.jpg


BIN
src/assets/yizhan.jpg


+ 9 - 2
src/layout/index/yizhanshi.vue

@@ -35,11 +35,18 @@
 export default {
   name: 'yizhanshi',
   props: {
-    image: null,
     yizhanList: null,
   },
   components: {},
-  data: () => ({}),
+  data: () => ({
+    image: {
+      yizhan: require('@/assets/yizhan.jpg'),
+      xuesheng: require('@/assets/xuesheng.jpg'),
+      danwei: require('@/assets/danwei.jpg'),
+      shouce: require('@/assets/shouce.jpg'),
+      shouces: require('@/assets/shouces.jpg'),
+    },
+  }),
   created() {},
   computed: {},
   methods: {},

+ 1 - 2
src/views/index.vue

@@ -59,7 +59,7 @@
                 <danwei :danweiList="danweiList" :danweiInfoList="danweiInfoList"></danwei>
               </el-col>
               <el-col :span="24" class="yizhanshi">
-                <yizhanshi :image="image" :yizhanList="yizhanList"></yizhanshi>
+                <yizhanshi :yizhanList="yizhanList"></yizhanshi>
               </el-col>
             </el-col>
           </el-col>
@@ -109,7 +109,6 @@ export default {
     danweiList: null, //事业单位
     danweiInfoList: null, //事业单位内容
     lunboList: null, //轮播图
-    image: null, //一站式头部图片
     yizhanList: null, //一站式招聘
     linkImgList: null, //友情链接
     downList: null, //底部