<template>
  <div id="recruitLists">
    <el-row>
      <el-col :span="24" class="list">
        <el-col :span="24" class="topTitle">
          <el-col class="rightTopL"> 我的订购</el-col>
        </el-col>

        <el-col :span="24" class="tit">
          <el-col> 我的订购</el-col>
        </el-col>
        <el-col :span="24" class="fbList">
          <el-col class="fbListTop">信息号</el-col>
          <el-col class="fbListCenter"></el-col>
        </el-col>
        <el-col :span="24">
          <el-table :data="recruitData" style="width: 100%" border>
            <el-table-column label="名称" align="center">
              <template slot-scope="scoped">
                <el-tooltip effect="dark" content="点击显示详情" placement="left">
                  <el-col :span="24" @click.native="clickDetailcm(scoped.row)">{{ scoped.row.name }}</el-col>
                </el-tooltip>
              </template>
            </el-table-column>
            <el-table-column prop="infotype" label="信息类型" align="center"> </el-table-column>
            <el-table-column prop="user_name" label="发布人" align="center"> </el-table-column>
          </el-table>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'recruitLists',
  props: {
    recruitData: null,
    columnName: null,
    total: null,
  },
  components: {},
  data: () => ({
    currentPage: 1,
  }),
  created() {},
  computed: {},
  methods: {
    handleSizeChange(val) {
      console.log(`每页 ${val} 条`);
    },
    handleCurrentChange(val) {
      console.log(`当前页: ${val}`);
    },
    clickDetailcm(row) {
      this.$emit('detailcm', { data: row });
    },
  },
};
</script>

<style lang="less" scoped>
.list {
  height: 740px;

  overflow: hidden;
}
.topTitle {
  height: 60px;
  width: 950px;
  line-height: 60px;
  border-bottom: 1px solid #215299;
}
.rightTopL {
  width: 130px;
  height: 60px;
  float: left;
  color: rgb(255, 255, 255);
  font-size: 18px;
  text-align: center;
  font-family: 微软雅黑, Tahoma, Arial, Helvetica, STHeiti;
  background: rgb(33, 82, 153);
}

.tit {
  background-color: #ffffff;
  padding: 30px 30px 0 30px;
  line-height: 50px;
  width: 890px;
  height: 80px;
  border-bottom: 1px solid #ccc;
  background-color: #ffffff;
  color: #215299;
}
.fbList {
  width: 888px;
  height: 183px;
  border: 1px solid #ccc;
  margin: 20px 0 0 20px;
}

.fbListTop {
  height: 43px;
  margin-left: 1px;
  background: #fafafa;
  line-height: 43px;
  text-indent: 10px;
  font-size: 13px;
  color: #888888;
}

.fbListCenter {
  width: 870px;
  height: 119px;
  margin: 20px 0 0 12px;
}
.page {
  padding: 11px 0 0 0;
  text-align: center;
}
</style>
