<template>
  <div class="h-card">
    <div class="title">{{ title }}</div>
    <div class="content">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="less" scoped>
.h-card {
  width: 100%;
  height: 100%;
  border: 1px solid #0081c3;
  background-color: #07162b;
  .title {
    padding-left: 6px;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    color: #6ee4f0;
  }
  .content {
    height: calc(100% - 30px);
  }
}
</style>
