<template>
  <div id="jiaoyi">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="topInfo">
          <el-col :span="23" class="left">{{ title }}</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-table :data="tableData" style="width: 100%">
            <el-table-column prop="market" label="营销单位" align="center"> </el-table-column>
            <el-table-column prop="make" label="采购单位" align="center"> </el-table-column>
            <el-table-column prop="product" label="产品交易" align="center"> </el-table-column>
            <el-table-column prop="deal" label="交易状态" align="center"> </el-table-column>
          </el-table>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'jiaoyi',
  props: {
    tableData: 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 .more {
  height: 30px;
  text-align: right;
  padding: 10px 0;
}
/deep/.el-table td {
  padding: 2px 0;
}
/deep/.el-table th {
  padding: 2px 0;
  background-color: #f3f3f3;
}
/deep/.el-table__row:nth-child(2n) {
  background-color: #f3f3f3;
}
/deep/.el-table .cell {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
</style>
