<template>
  <div id="box">
    <div class="box-title">
      <dv-decoration-5 :dur="dur" class="header-center-decoration" />
      <div class="center-title">{{ this.title }}</div>
    </div>
    <slot name="default"></slot>
  </div>
</template>

<script>
export default {
  name: "BorderItem",
  props: {
    title: {
      type: String,
      default: "",
    },
  },

  data() {
    return {
      dur:6
    };
  },
};
</script>

<style lang="less">
#box {
  width: 100%;
  height: 100%;
  .box-title {
    display: flex;
    flex-direction: column;
    .header-center-decoration {
      width: 95%;
      height: 55px;
    }
    .center-title {
      position: absolute;
      font-size: 12px;
      font-weight: bold;
      left: 50%;
      top: 14px;
      transform: translateX(-50%);
    }
  }
}

.bottom-charts {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;

  .bc-chart-item {
    width: 25%;
    height: 100%;
    padding-top: 20px;
    box-sizing: border-box;
  }

  .bcci-header {
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
  }

  .dv-active-ring-chart {
    height: calc(~"100% - 80px");
  }

  .label-tag {
    height: 30px;
  }

  .active-ring-name {
    font-size: 18px !important;
  }

  .decoration-1,
  .decoration-2,
  .decoration-3 {
    display: absolute;
    left: 0%;
  }
}
</style>
