<template>
  <div class="table-header">
    <div class="table-header__top">
      <div class="table-header__left">
        <slot name="left" />
      </div>

      <div class="table-header__right">
        <slot name="right" />
      </div>
    </div>

    <slot />
  </div>
</template>

<style lang="less" scoped>
.table-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.table-header__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.table-header__left > * {
  margin-left: 10px;
  margin-bottom: 10px;
}
.table-header__right > * {
  margin-left: 10px;
}
/deep/.filter_item{
    margin-right: 20px;
    display: flex;
    align-items: center;
    span,label{
        word-break: keep-all;
    }
    .ivu-radio-group{
        display: flex;
        align-items: center;
    }
    .input_box,
    .select_box{
        width: 240px;
    }
}
</style>
