<template>
  <div class="deviceStatistics card">
    <div class="card-head">
      <div class="title">当前设备历史数据</div>
      <el-button-group>
        <el-button type="primary">心率</el-button>
        <el-button>血氧</el-button>
        <el-button>体表温度</el-button>
      </el-button-group>
    </div>
    <slot name="chart"></slot>
  </div>
</template>
<script setup></script>
<style scoped lang="less">
.card {
  height: 100%;
  background: #ffffff;
  padding: 16px 10px;
  box-sizing: border-box;

  .card-head {
    color: #061451;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .title {
      &::before {
        display: inline-block;
        margin-right: 10px;
        content: "";
        width: 2px;
        height: 14px;
        border-radius: 20px;
        background: #061451;
      }
    }
    .search {
      display: flex;
      align-items: center;
    }
  }
}
</style>
