<template>
  <div id="context">
    <el-row>
      <el-col :span="24" class="webMessage">
        {{ title }}
      </el-col>
      <!-- <el-col :span="24" style="padding: 20px 15px;">
        <el-col>
          <span class="sizeA">
            {{ detail && detail.into ? detail.into : '' }}
          </span>
        </el-col>
      </el-col> -->
    </el-row>

    <!-- <el-row class="info_row">
      <el-col :span="24">岗位职责</el-col>
      <el-col :span="24" v-for="(item, index) in 5" :key="index"> {{ index + 1 }}, {{ item && item.info ? detail.info : '理解需求' }} </el-col>
    </el-row>
    <el-row class="info_row">
      <el-col :span="24">任职资格</el-col>
      <el-col :span="24" v-for="(item, index) in 5" :key="index"> {{ index + 1 }}, {{ item && item.info ? detail.info : '任职资格' }} </el-col>
    </el-row>
    <el-row class="info_row">
      <el-col :span="24">岗位职责</el-col>
      <el-col :span="24" v-for="(item, index) in 5" :key="index"> {{ index + 1 }}, {{ item && item.info ? detail.info : '理解需求' }} </el-col>
    </el-row> -->
    <el-row class="info_row">
      <!-- <el-col :span="24">任职资格</el-col> -->
      <el-col :span="24"> {{ info && info.job_desc ? info.job_desc : '' }} </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'context',
  props: {
    title: {
      type: String,
    },
    info: {
      type: Object,
      default: () => {},
    },
  },
  components: {},
  data: () => ({
    detail: {},
  }),
  created() {},
  mounted() {
    this.$set(this, `detail`, this.info);
  },
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.webMessage {
  border-left: 3px solid #850000;
  font-size: 16px;
  line-height: 30px;
  height: 30px;
  padding: 0 15px;
  margin: 0 0 0 -15px;
}
.sizeA {
  font-size: 14px;
}
.info_row {
  padding: 1.5rem;
  font-size: 14px;
  .el-col {
    padding: 0.2rem;
  }
}
</style>
