<template>
  <div>
    <div class="Thehead">
      <slot name="table"></slot>
    </div>
    <el-row>
      <el-button v-if="ShowHidden != 0" type="whiteBackground" class="LoadMore" @click="LoadData">加载更多</el-button>
    </el-row>
  </div>
</template>

<script>
  export default {
    name: "ListTheContent",
    props: {
      ShowHidden : {
        type:Number,
        required: true,
      }
    },
    data() {
      return {
        value:false,
      };
    },
    methods: {
      // 加载更多
      LoadData () {
        this.$emit("UpLoat")
      },
    },
  };
</script>
<style>
  .Thehead {
    margin: 24px !important;
    background-color: #242b61;
    height: 96%;
    border-radius: 6px;
    border: 1px solid #5165DF;
  }
  /*    斑马纹颜色 */
  .el-table .warning-row {
    background: #242b61 !important;
  }
  .el-table .success-row {
    background: #202659 !important;
  }
  /*   斑马纹 鼠标移入 改变背景颜色 */
  .el-table__body-wrapper tbody tr:hover>td {
    background-color: #404c92 !important;
  }
  div.cell {
    color: #9ccfff;
    font-family: SourceHanSansCN-Regular, SourceHanSansCN;
    font-weight: "Regular" !important;
  }
  /*   表单 字体移动 */
  .el-table .el-table__cell {
    padding: 0px 16px;
  }
  /*   表头 高  */
  .el-table th.el-table__cell>.cell {
    height: 28px;
    line-height: 28px;
  }
  .el-table th.el-table__cell {
    background-color: rgb(55, 90, 199);
  }
  .Bar {
    padding: 0 5px;
    color: #555b91;
    width: 1px;
    height: 14px;
  }
  /*   表格  行间距  不设置 有间隙 */
  .el-table td.el-table__cell,
  .el-table th.el-table__cell.is-leaf {
    border-bottom: 0px solid #ebeef5;
  }
  .el-table {
    border-radius: 6px;
  }
  .el-table .cell {
    font-weight: 400;
    height: 36px;
    line-height: 36px;
  }
  .el-table,
  .el-table__expanded-cell {
    background-color: #2d4eb1 !important;
  }
  .el-table tr {
    background-color: #2d4eb1 !important;
    font-weight: 400;
  }
  .el-table::before {
    height: 0;
  }
  /*   加载更多 按钮 */
  .LoadMore {
    font-size: 14px;
    background-color: #2e5ded;
    border-radius: 2px;
    color: #fff;
    font-family: '思源黑体 CN Regular';
    font-weight: 400;
    border: 0px solid #000;
    width: 120px;
    margin-left: 40%;
    margin-bottom: 20px;
  }
  .LoadMore:hover {
    background-color: #2e5ded;
  }
  .LoadMore:focus {
    background-color: #2e5ded;
  }
</style>