<template>
  <div id="fabu">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="topInfo">
          <el-col :span="21" class="left">{{ title }}</el-col>
          <el-col :span="2" class="btn"><el-link :underline="false">我要发布</el-link></el-col>
          <el-col :span="1" class="more">
            <el-link :underline="false"><el-image :src="more"></el-image></el-link>
          </el-col>
        </el-col>
        <el-col :span="24" class="list">
          <el-col :span="12" class="fabuList" v-for="(item, index) in fabuList" :key="index">
            <el-link :underline="false">
              <el-col :span="5" class="image">
                <el-image style="width:100px;height:97px;" :src="item.pic"></el-image>
              </el-col>
              <el-col :span="19" class="fabuListInfo">
                <el-col :span="23" class="title">
                  <span class="textOver">{{ item.title }}</span>
                </el-col>
                <el-col :span="1" class="num">
                  {{ item.num }}
                </el-col>
                <el-col :span="16" class="company">
                  <span class="textOver">所属企业：{{ item.company }}</span>
                </el-col>
                <el-col :span="8" class="status"> 认证状态：{{ item.status }}</el-col>
                <el-col :span="14" class="type">类别：{{ item.type }}</el-col>
                <el-col :span="10" class="date">上架时间：{{ item.date }}</el-col>
              </el-col>
            </el-link>
          </el-col>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'fenlei',
  props: {
    fabuList: null,
  },
  components: {},
  data: () => ({
    title: '最新发布',
    more: require('@/assets/更多.png'),
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.info {
  padding: 20px;
}
.topInfo {
  height: 30px;
  line-height: 30px;
  margin: 0 0 10px 0;
}
.topInfo .left {
  font-size: 22px;
  color: #22529a;
  font-weight: bold;
}
.topInfo .btn {
  text-align: right;
  width: 125px;
  padding: 0 20px 0 0px;
}
/deep/.topInfo .btn .el-link {
  font-size: 14px;
  color: #22529a;
  font-weight: bold;
}
.topInfo .more {
  width: 20px;
  height: 30px;
  text-align: right;
  padding: 10px 0;
}
.fabuList {
  background-color: #f3f3f3;
  height: 97px;
  overflow: hidden;
  margin: 0 10px 10px 0;
  width: 575px;
}
.fabuList:nth-child(2n) {
  margin: 0 0 10px 0;
}
.fabuList .image {
  width: 100px;
  height: 97px;
}
.fabuListInfo {
  padding: 0 20px;
  width: 475px;
  height: 97px;
}
.fabuListInfo .title {
  height: 40px;
  line-height: 40px;
  padding: 0 10px 0 0;
}
.fabuListInfo .title span {
  display: inline-block;
  font-size: 14px;
  color: #60636d;
  width: 100%;
}
.fabuListInfo .num {
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: #60636d;
}
.fabuListInfo .status {
  font-size: 14px;
  color: #60636d;
}
.fabuListInfo .company span {
  display: inline-block;
  width: 290px;
  font-size: 14px;
  color: #60636d;
}
.fabuListInfo .type {
  font-size: 14px;
  color: #60636d;
}
.fabuListInfo .date {
  text-align: right;
  font-size: 14px;
  color: #60636d;
}
</style>
