|  | @@ -0,0 +1,68 @@
 | 
	
		
			
				|  |  | +<template>
 | 
	
		
			
				|  |  | +  <div class="info-container">
 | 
	
		
			
				|  |  | +    <el-container>
 | 
	
		
			
				|  |  | +      <el-main>
 | 
	
		
			
				|  |  | +        <info-list
 | 
	
		
			
				|  |  | +          class="mt10"
 | 
	
		
			
				|  |  | +          :type="type"
 | 
	
		
			
				|  |  | +          v-show="!detailMode"
 | 
	
		
			
				|  |  | +          @click="detailList"
 | 
	
		
			
				|  |  | +        ></info-list>
 | 
	
		
			
				|  |  | +        <info-detail
 | 
	
		
			
				|  |  | +          class="mt10"
 | 
	
		
			
				|  |  | +          v-if="detailMode"
 | 
	
		
			
				|  |  | +          :type="type"
 | 
	
		
			
				|  |  | +          :title="detailTitle"
 | 
	
		
			
				|  |  | +          :id="detailId"
 | 
	
		
			
				|  |  | +          @close="detailClose"
 | 
	
		
			
				|  |  | +        />
 | 
	
		
			
				|  |  | +      </el-main>
 | 
	
		
			
				|  |  | +<!--      <el-aside width="400px" style="background-color: #ffffff">-->
 | 
	
		
			
				|  |  | +<!--        <el-card class="mt20" v-for="opt in typeOptions" :key="opt.value">-->
 | 
	
		
			
				|  |  | +<!--          <info-sample-->
 | 
	
		
			
				|  |  | +<!--            :type="opt.label"-->
 | 
	
		
			
				|  |  | +<!--            :title="opt.label"-->
 | 
	
		
			
				|  |  | +<!--            @click="detailSample"-->
 | 
	
		
			
				|  |  | +<!--          /></el-card>-->
 | 
	
		
			
				|  |  | +<!--      </el-aside>-->
 | 
	
		
			
				|  |  | +    </el-container>
 | 
	
		
			
				|  |  | +  </div>
 | 
	
		
			
				|  |  | +</template>
 | 
	
		
			
				|  |  | +<script>
 | 
	
		
			
				|  |  | +import InfoDetail from "../components/infoDetail.vue";
 | 
	
		
			
				|  |  | +import infoList from "../components/infoList.vue";
 | 
	
		
			
				|  |  | +import InfoSample from "../components/infoSample.vue";
 | 
	
		
			
				|  |  | +import * as career from "@/api/webApi/career-news";
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +export default {
 | 
	
		
			
				|  |  | +  components: { infoList, InfoSample, InfoDetail },
 | 
	
		
			
				|  |  | +  data() {
 | 
	
		
			
				|  |  | +    return {
 | 
	
		
			
				|  |  | +      detailMode: false,
 | 
	
		
			
				|  |  | +      detailTitle: "",
 | 
	
		
			
				|  |  | +      detailId: 0,
 | 
	
		
			
				|  |  | +      type: "",
 | 
	
		
			
				|  |  | +    };
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  | +  mounted() {
 | 
	
		
			
				|  |  | +    this.type = '生涯资讯'
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  | +  methods: {
 | 
	
		
			
				|  |  | +    detailList(item) {
 | 
	
		
			
				|  |  | +      this.detailTitle = item.title;
 | 
	
		
			
				|  |  | +      this.detailId = item.id;
 | 
	
		
			
				|  |  | +      this.detailMode = true;
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    detailSample(item) {
 | 
	
		
			
				|  |  | +      this.detailTitle = item.title;
 | 
	
		
			
				|  |  | +      this.detailId = item.id;
 | 
	
		
			
				|  |  | +      this.detailMode = true;
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  | +    detailClose() {
 | 
	
		
			
				|  |  | +      this.detailMode = false;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +  },
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +</script>
 | 
	
		
			
				|  |  | +<style lang="scss" scoped>
 | 
	
		
			
				|  |  | +</style>
 |