<template>
  <div id="detail">
    <el-row>
      <el-col :span="24" class="detail">
        <el-col :span="24" class="topInfo">
          <el-col :span="8" class="top">
            <p>{{ title }}</p>
          </el-col>
          <el-col :span="16" class="bread">
            <el-breadcrumb separator-class="el-icon-arrow-right">
              <el-breadcrumb-item>您当前所在位置</el-breadcrumb-item>
              <el-breadcrumb-item :to="{ path: '/' }">网站首页</el-breadcrumb-item>
              <el-breadcrumb-item>信息列表</el-breadcrumb-item>
              <el-breadcrumb-item>信息详细</el-breadcrumb-item>
            </el-breadcrumb>
          </el-col>
        </el-col>
        <el-col :span="24" class="info">
          <el-col :span="24" class="image">
            <el-image style="width:769px;height:443px;" :src="detailInfo.url"></el-image>
          </el-col>
          <el-col :span="24" class="title">
            <p>{{ detailInfo.title }}</p>
          </el-col>
          <el-col :span="24" class="date"> 发布时间：{{ detailInfo.date }} </el-col>
          <el-col :span="24" class="content">
            <p>{{ detailInfo.content }}</p>
          </el-col>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'detail',
  props: {
    detailInfo: null,
  },
  components: {},
  data: () => ({
    title: '就业动态',
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
p {
  padding: 0;
  margin: 0;
}
.detail {
  border-left: 1px solid #0874ee;
  min-height: 1020px;
  padding: 0 15px;
}
.topInfo {
  height: 47px;
  line-height: 47px;
  border-bottom: 2px solid #0874ee;
}
.top {
  padding: 0 10px;
}
.top p {
  font-size: 24px;
  color: #0874ee;
}
.bread {
  padding: 16px 0px 16px 220px;
}
.info {
  text-align: center;
}
.info .image {
  margin: 20px 0;
}
.info .title {
  padding: 10px 0;
}
.info .title p {
  font-size: 24px;
  color: #333;
}
.info .date {
  font-size: 14px;
  color: #666666;
  padding: 20px 0;
}
.info .content p {
  font-size: 14px;
  color: #5b5b5b;
  text-indent: 2rem;
  text-align: left;
  line-height: 30px;
}
</style>
