<template>
  <div class="bottomRight">
    <dv-border-box-13>
      <div class="chartsBox">
        <div class="chartItem">
          <nav>
            <p class="left">科室手术量统计(前五)</p>
            <div class="right">
              <p class="active">周</p>
              <p>月</p>
            </div>
          </nav>
          <dv-bar-chart></dv-bar-chart>
        </div>
      </div>
    </dv-border-box-13>
  </div>
</template>

<script>
// import dvBarChart from '@/components/dvBarChart/index.vue';
import comBar from '@/components/comBar/index.vue';
export default {
  components: {
    'dv-bar-chart': comBar,
  },
};
</script>

<style lang="scss" scoped>
.bottomRight {
  flex-basis: 28%;
  .chartsBox {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    padding-top: 10px;
    box-sizing: border-box;
    .chartItem {
      width: 100%;
      height: 100%;
      flex-shrink: 0;
      padding: 0 20px;
      padding-top: 20px;
      box-sizing: border-box;
      nav {
        display: flex;
        justify-content: space-between;
        .right {
          display: flex;
          .active,
          p:hover {
            color: #87ceeb;
          }
          p {
            margin-right: 10px;
            cursor: pointer;
          }
        }
        p {
          font-size: 24px;
        }
      }
      :deep(.dv-charts-container){
        height: 90%;
      }
    }
  }
}
</style>
